How to install R-base sid in Debian jessie?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I want to install R-base sid here in Debian.
It would be great if some CRAN packages installed can be maintained in the SID version.
Code



sudo apt install r-base/unstable


Output



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'unstable' for 'r-base' was not found


I also tried unsuccessfully sudo apt-get install r-base/unstable. I cannot find R 3.4.x in apt search R-base| grep 3.4.
I think it can be enough to add the source of the R-base sid in /etc/apt/sources.list.
However, I could not find the exact address in the package homepage.



OS: Debian 8.7

R: current 3.3.3










share|improve this question



















  • 1




    Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
    – GAD3R
    May 19 '17 at 13:56















up vote
1
down vote

favorite












I want to install R-base sid here in Debian.
It would be great if some CRAN packages installed can be maintained in the SID version.
Code



sudo apt install r-base/unstable


Output



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'unstable' for 'r-base' was not found


I also tried unsuccessfully sudo apt-get install r-base/unstable. I cannot find R 3.4.x in apt search R-base| grep 3.4.
I think it can be enough to add the source of the R-base sid in /etc/apt/sources.list.
However, I could not find the exact address in the package homepage.



OS: Debian 8.7

R: current 3.3.3










share|improve this question



















  • 1




    Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
    – GAD3R
    May 19 '17 at 13:56













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I want to install R-base sid here in Debian.
It would be great if some CRAN packages installed can be maintained in the SID version.
Code



sudo apt install r-base/unstable


Output



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'unstable' for 'r-base' was not found


I also tried unsuccessfully sudo apt-get install r-base/unstable. I cannot find R 3.4.x in apt search R-base| grep 3.4.
I think it can be enough to add the source of the R-base sid in /etc/apt/sources.list.
However, I could not find the exact address in the package homepage.



OS: Debian 8.7

R: current 3.3.3










share|improve this question















I want to install R-base sid here in Debian.
It would be great if some CRAN packages installed can be maintained in the SID version.
Code



sudo apt install r-base/unstable


Output



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'unstable' for 'r-base' was not found


I also tried unsuccessfully sudo apt-get install r-base/unstable. I cannot find R 3.4.x in apt search R-base| grep 3.4.
I think it can be enough to add the source of the R-base sid in /etc/apt/sources.list.
However, I could not find the exact address in the package homepage.



OS: Debian 8.7

R: current 3.3.3







debian software-installation r






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 20 '17 at 12:52









Stephen Kitt

150k23332400




150k23332400










asked May 19 '17 at 13:47









Léo Léopold Hertz 준영

9331042106




9331042106







  • 1




    Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
    – GAD3R
    May 19 '17 at 13:56













  • 1




    Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
    – GAD3R
    May 19 '17 at 13:56








1




1




Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
– GAD3R
May 19 '17 at 13:56





Create an apt preference file wiki.debian.org/AptPreferences , I don't know if installing R from Sid will break something or not !
– GAD3R
May 19 '17 at 13:56











2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Follow the official instructions on CRAN and make the appropriate changes to /etc/apt/sources.list.



Then, to install the backported R 3.4 packages, you can do



sudo apt-get -t jessie-backports install r-base





share|improve this answer






















  • Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
    – Stephen Kitt
    May 20 '17 at 12:52










  • @StephenKitt The above works. I do not know what is the difference to cran34.
    – Léo Léopold Hertz 준영
    May 20 '17 at 12:54


















up vote
0
down vote













After some trial and error with the official instructions, the following worked for me:



Use a text editor to add the following to etc/apt/sources.list:



deb [trusted=yes] http://ftp.us.debian.org/debian sid main
deb-src [trusted=yes] http://ftp.us.debian.org/debian sid main


(careful, here we're add support for more than just R).



You can also do everything from the command line with e.g.



d0=$(echo "[trusted=yes] http://ftp.us.debian.org/debian sid main"); echo $d0
d1=$(echo "deb" $d0); echo $d1
d2=$(echo "deb-src" $d0); echo $d2
## give all users access to /ect/apt (or can use sudo cat ... below)
sudo chmod --recursive a+rwX /etc/apt/
cat <<EOF >> /etc/apt/sources.list
$d1
$d2
EOF
## check this worked
cat /etc/apt/sources.list


then



### ensure have keyring
sudo apt-get install -y debian-archive-keyring
## add key for R (I think this is still necessary)
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
### ensure no errors with apt-get update
sudo apt-get install -y libappstream4
sudo apt-get update
sudo apt-get install -y r-base r-base-dev libopenblas-base
sudo apt-get autoremove




share








New contributor




dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f366074%2fhow-to-install-r-base-sid-in-debian-jessie%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Follow the official instructions on CRAN and make the appropriate changes to /etc/apt/sources.list.



    Then, to install the backported R 3.4 packages, you can do



    sudo apt-get -t jessie-backports install r-base





    share|improve this answer






















    • Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
      – Stephen Kitt
      May 20 '17 at 12:52










    • @StephenKitt The above works. I do not know what is the difference to cran34.
      – Léo Léopold Hertz 준영
      May 20 '17 at 12:54















    up vote
    1
    down vote



    accepted










    Follow the official instructions on CRAN and make the appropriate changes to /etc/apt/sources.list.



    Then, to install the backported R 3.4 packages, you can do



    sudo apt-get -t jessie-backports install r-base





    share|improve this answer






















    • Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
      – Stephen Kitt
      May 20 '17 at 12:52










    • @StephenKitt The above works. I do not know what is the difference to cran34.
      – Léo Léopold Hertz 준영
      May 20 '17 at 12:54













    up vote
    1
    down vote



    accepted







    up vote
    1
    down vote



    accepted






    Follow the official instructions on CRAN and make the appropriate changes to /etc/apt/sources.list.



    Then, to install the backported R 3.4 packages, you can do



    sudo apt-get -t jessie-backports install r-base





    share|improve this answer














    Follow the official instructions on CRAN and make the appropriate changes to /etc/apt/sources.list.



    Then, to install the backported R 3.4 packages, you can do



    sudo apt-get -t jessie-backports install r-base






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 20 '17 at 12:50


























    community wiki





    2 revs, 2 users 75%
    Léo Léopold Hertz 준영












    • Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
      – Stephen Kitt
      May 20 '17 at 12:52










    • @StephenKitt The above works. I do not know what is the difference to cran34.
      – Léo Léopold Hertz 준영
      May 20 '17 at 12:54

















    • Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
      – Stephen Kitt
      May 20 '17 at 12:52










    • @StephenKitt The above works. I do not know what is the difference to cran34.
      – Léo Léopold Hertz 준영
      May 20 '17 at 12:54
















    Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
    – Stephen Kitt
    May 20 '17 at 12:52




    Shouldn’t that be -t jessie-cran34 instead of jessie-backports? (I haven’t tried it, I’m just going by the release information in the CRAN Release file.)
    – Stephen Kitt
    May 20 '17 at 12:52












    @StephenKitt The above works. I do not know what is the difference to cran34.
    – Léo Léopold Hertz 준영
    May 20 '17 at 12:54





    @StephenKitt The above works. I do not know what is the difference to cran34.
    – Léo Léopold Hertz 준영
    May 20 '17 at 12:54













    up vote
    0
    down vote













    After some trial and error with the official instructions, the following worked for me:



    Use a text editor to add the following to etc/apt/sources.list:



    deb [trusted=yes] http://ftp.us.debian.org/debian sid main
    deb-src [trusted=yes] http://ftp.us.debian.org/debian sid main


    (careful, here we're add support for more than just R).



    You can also do everything from the command line with e.g.



    d0=$(echo "[trusted=yes] http://ftp.us.debian.org/debian sid main"); echo $d0
    d1=$(echo "deb" $d0); echo $d1
    d2=$(echo "deb-src" $d0); echo $d2
    ## give all users access to /ect/apt (or can use sudo cat ... below)
    sudo chmod --recursive a+rwX /etc/apt/
    cat <<EOF >> /etc/apt/sources.list
    $d1
    $d2
    EOF
    ## check this worked
    cat /etc/apt/sources.list


    then



    ### ensure have keyring
    sudo apt-get install -y debian-archive-keyring
    ## add key for R (I think this is still necessary)
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
    ### ensure no errors with apt-get update
    sudo apt-get install -y libappstream4
    sudo apt-get update
    sudo apt-get install -y r-base r-base-dev libopenblas-base
    sudo apt-get autoremove




    share








    New contributor




    dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote













      After some trial and error with the official instructions, the following worked for me:



      Use a text editor to add the following to etc/apt/sources.list:



      deb [trusted=yes] http://ftp.us.debian.org/debian sid main
      deb-src [trusted=yes] http://ftp.us.debian.org/debian sid main


      (careful, here we're add support for more than just R).



      You can also do everything from the command line with e.g.



      d0=$(echo "[trusted=yes] http://ftp.us.debian.org/debian sid main"); echo $d0
      d1=$(echo "deb" $d0); echo $d1
      d2=$(echo "deb-src" $d0); echo $d2
      ## give all users access to /ect/apt (or can use sudo cat ... below)
      sudo chmod --recursive a+rwX /etc/apt/
      cat <<EOF >> /etc/apt/sources.list
      $d1
      $d2
      EOF
      ## check this worked
      cat /etc/apt/sources.list


      then



      ### ensure have keyring
      sudo apt-get install -y debian-archive-keyring
      ## add key for R (I think this is still necessary)
      apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
      ### ensure no errors with apt-get update
      sudo apt-get install -y libappstream4
      sudo apt-get update
      sudo apt-get install -y r-base r-base-dev libopenblas-base
      sudo apt-get autoremove




      share








      New contributor




      dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



















        up vote
        0
        down vote










        up vote
        0
        down vote









        After some trial and error with the official instructions, the following worked for me:



        Use a text editor to add the following to etc/apt/sources.list:



        deb [trusted=yes] http://ftp.us.debian.org/debian sid main
        deb-src [trusted=yes] http://ftp.us.debian.org/debian sid main


        (careful, here we're add support for more than just R).



        You can also do everything from the command line with e.g.



        d0=$(echo "[trusted=yes] http://ftp.us.debian.org/debian sid main"); echo $d0
        d1=$(echo "deb" $d0); echo $d1
        d2=$(echo "deb-src" $d0); echo $d2
        ## give all users access to /ect/apt (or can use sudo cat ... below)
        sudo chmod --recursive a+rwX /etc/apt/
        cat <<EOF >> /etc/apt/sources.list
        $d1
        $d2
        EOF
        ## check this worked
        cat /etc/apt/sources.list


        then



        ### ensure have keyring
        sudo apt-get install -y debian-archive-keyring
        ## add key for R (I think this is still necessary)
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
        ### ensure no errors with apt-get update
        sudo apt-get install -y libappstream4
        sudo apt-get update
        sudo apt-get install -y r-base r-base-dev libopenblas-base
        sudo apt-get autoremove




        share








        New contributor




        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        After some trial and error with the official instructions, the following worked for me:



        Use a text editor to add the following to etc/apt/sources.list:



        deb [trusted=yes] http://ftp.us.debian.org/debian sid main
        deb-src [trusted=yes] http://ftp.us.debian.org/debian sid main


        (careful, here we're add support for more than just R).



        You can also do everything from the command line with e.g.



        d0=$(echo "[trusted=yes] http://ftp.us.debian.org/debian sid main"); echo $d0
        d1=$(echo "deb" $d0); echo $d1
        d2=$(echo "deb-src" $d0); echo $d2
        ## give all users access to /ect/apt (or can use sudo cat ... below)
        sudo chmod --recursive a+rwX /etc/apt/
        cat <<EOF >> /etc/apt/sources.list
        $d1
        $d2
        EOF
        ## check this worked
        cat /etc/apt/sources.list


        then



        ### ensure have keyring
        sudo apt-get install -y debian-archive-keyring
        ## add key for R (I think this is still necessary)
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
        ### ensure no errors with apt-get update
        sudo apt-get install -y libappstream4
        sudo apt-get update
        sudo apt-get install -y r-base r-base-dev libopenblas-base
        sudo apt-get autoremove





        share








        New contributor




        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 7 mins ago









        dardisco

        1012




        1012




        New contributor




        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        dardisco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f366074%2fhow-to-install-r-base-sid-in-debian-jessie%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay