This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#debian R upgrade | |
echo "deb http://streaming.stat.iastate.edu/CRAN/bin/linux/debian lenny-cran/" | sudo tee -a /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get -t lenny-cran install --yes --force-yes r-base r-base-dev | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a note that this was failing on my AMIs. I did the following to correct the issue:
gpg --keyserver pgpkeys.mit.edu --recv-key 06F90DE5381BA480
gpg -a --export 06F90DE5381BA480 | sudo apt-key add -
echo "deb http://streaming.stat.iastate.edu/CRAN/bin/linux/debian lenny-cran/" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -t lenny-cran install --yes --force-yes r-base r-base-dev
Which kinda sucks - doesn't work out of the box - gotta get the key value.