Last active
December 8, 2018 03:24
-
-
Save oliveira-andre/ffb63363e301cca9656645fa6be0b286 to your computer and use it in GitHub Desktop.
install RStudio ubuntu 18.04
This file contains hidden or 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
# Download and Install R if you need put your current version of https://cran.r-project.org/ | |
wget https://cran.r-project.org/bin/linux/ubuntu/bionic-cran35/dh-r_20180506~ubuntu18.04.1~ppa1_all.deb | |
sudo dpkg -i dh-r_20180506_ubuntu18.04.1_ppa1_all.deb | |
# Install, chaning the name of the package to the one you downloaded - perhaps easiest if you go to your Downloads directory - and you'll probably find that there are missing packages: | |
sudo dpkg -i rstudio-1.0.124-amd64.deb | |
# Download the missing packages (the lack of which causes the installation to fail): | |
wget http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb | |
wget http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb | |
# Install them: | |
sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb | |
sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb | |
# Make sure they don't get over-written at the next software update: | |
sudo apt-mark hold libgstreamer-plugins-base0.10-0 | |
sudo apt-mark hold libgstreamer0.10 | |
# Install RStudio (changing name to the version you downloaded): | |
sudo gdebi rstudio-1.1.5-amd64.deb | |
# Launch RStudio: | |
rstudio | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment