aims-install-rstudio 543 Bytes
Newer Older
1
2
#!/bin/bash

3
4
5
6
7
8
9
# Rstudio 1.0.143 and before required 3 jessie packages to run on stretch
[ -f /etc/apt/sources.list.d/jessie.list ] && mv /etc/apt/sources.list.d/jessie.list{,.disabled}
for PKG in libgstreamer0.10-0 libgstreamer-plugins-base0.10-0 libssl1.0.0; do
	dpkg -s $PKG >/dev/null 2>&1 && apt-get -y purge $PKG;
done

# New rstudio does not require jessie packages
10
apt-get -qq update
11
apt-get -y install r-recommended
12
cd /tmp
Jan Groenewald's avatar
Jan Groenewald committed
13
14
wget -c https://download1.rstudio.org/rstudio-xenial-1.1.453-amd64.deb
dpkg -i rstudio-xenial-1.1.453-amd64.deb