How to install R-base sid in Debian jessie?
Clash 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
debian software-installation r
add a comment |Â
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
debian software-installation r
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
add a comment |Â
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
debian software-installation r
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
debian software-installation r
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
add a comment |Â
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
add a comment |Â
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
ShouldnâÂÂt that be-t jessie-cran34
instead ofjessie-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 tocran34
.
â Léo Léopold Hertz ì¤ÂìÂÂ
May 20 '17 at 12:54
add a comment |Â
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
New contributor
add a comment |Â
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
ShouldnâÂÂt that be-t jessie-cran34
instead ofjessie-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 tocran34
.
â Léo Léopold Hertz ì¤ÂìÂÂ
May 20 '17 at 12:54
add a comment |Â
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
ShouldnâÂÂt that be-t jessie-cran34
instead ofjessie-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 tocran34
.
â Léo Léopold Hertz ì¤ÂìÂÂ
May 20 '17 at 12:54
add a comment |Â
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
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
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 ofjessie-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 tocran34
.
â Léo Léopold Hertz ì¤ÂìÂÂ
May 20 '17 at 12:54
add a comment |Â
ShouldnâÂÂt that be-t jessie-cran34
instead ofjessie-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 tocran34
.
â 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
add a comment |Â
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
New contributor
add a comment |Â
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
New contributor
add a comment |Â
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
New contributor
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
New contributor
New contributor
answered 7 mins ago
dardisco
1012
1012
New contributor
New contributor
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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