9

EDIT: According to Jonathan of RStudio a new version doesn't need libgstreamer. See his post below for the relevant link.

RStudio won't install on Ubuntu 16.10 as key software inputs - libgstreamer0.10-0_0.10.36-1.5_amd64.deb - can't be installed. It seems to be obsolete, the system refuses to install it, and I'm unable to find an alternative.

There are suggestions to install the missing software alongside libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb, but only the latter works on my system. I tried apt-get to download it directly, and also got the package for use with dpkg or gdebi. The Ubuntu Software GUI doesn't seem useful, as it doesn't install despite giving no error message.

As the answers provided are insufficient in my case, the issues still appears to be unresolved for some of us.

1

3 Answers 3

13

Turns out that it IS possible. Thanks to Mike Williamson for excellent instructions, reproduced below:

1) Get the latest R Studio Daily Build here, though note that it's not necessarily stable.

2) 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

3) 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

4) 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

5) 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

6) Install RStudio (changing name to the version you downloaded):

sudo gdebi rstudio-1.1.5-amd64.deb

7) Launch RStudio:

rstudio
2
  • Beware commands for (4) and (5); they are two commands run together on one line. (4) will fail, giving you a chance to look and see what the problem is. (5) will not fail, but instead, judging by the output, marks every package you have as to be held. (Yes, I found out the hard way.) Dec 6, 2016 at 20:02
  • Is there a particular reason it has to be the daily build? Jun 25, 2017 at 16:31
2

RStudio has a new preview out that doesn't require libgstreamer0.1 (it uses the new libgstreamer1.0 in Ubuntu 16). You can try it here:

https://www.rstudio.com/products/rstudio/download/preview/

This will become the stable build in the next few weeks.

3
  • actually it dose require libgstreamer0.10-0 (as of today).
    – 7kemZmani
    Feb 20, 2018 at 1:51
  • @7kemZmani did you try the solution below/does it still work?
    – tim-oh
    Mar 19, 2018 at 8:53
  • @tim-oh nope! this did it for me.
    – 7kemZmani
    Mar 20, 2018 at 10:19
1
  1. Add R repository

    $ sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" 
      | sudo tee -a /etc/apt/sources.list  
    
  2. Add R to Ubuntu Keyring

    $ gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9  
    $ gpg -a --export E084DAB9 | sudo apt-key add -
    
  3. Install R-Base

    $ sudo apt-get update  
    $ sudo apt-get install r-base r-base-dev  
    
  4. Download R Studio and R Studio Server plus their dependencies

    libgstreamer0.10-0_0.10.36-1.5_amd64.deb  
    libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb  
    rstudio-1.0.143-amd64.deb  
    rstudio-server-1.0.143-amd64.deb
    
  5. Install R Studio and R Studio Server

    $ sudo apt-get install gdebi-core  
    $ sudo gdebi -n libgstreamer0.10-0_0.10.36-1.5_amd64.deb  
    $ sudo gdebi -n libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb  
    $ sudo gdebi -n rstudio-1.0.143-amd64.deb  
    $ sudo gdebi -n rstudio-server-1.0.143-amd64.deb  
    

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.