RStudio install on Ubuntu 16.10 fails due to libgstreamer

后端 未结 3 364
一生所求
一生所求 2020-12-29 13:14

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

相关标签:
3条回答
  • 2020-12-29 13:49

    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.

    0 讨论(0)
  • 2020-12-29 13:56

    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
    
    0 讨论(0)
  • 2020-12-29 14:08
    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  
      
    0 讨论(0)
提交回复
热议问题