aims-install-rstudio 741 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/bash

#RSTUDIO=https://download1.rstudio.org/desktop/debian9/x86_64/rstudio-1.2.1335-amd64.deb
#RSTUDIO=https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.3.959-amd64.deb
RSTUDIO=https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1103-amd64.deb

gpg --keyserver keys.gnupg.net --recv-keys 3F32EE77E331692F
8
9
10
if [ "$1" != "-n" ]; then
	apt-get -qq update # update unless called with -n, e.g. from aims-complete-install
fi
Jan Groenewald's avatar
Jan Groenewald committed
11
apt-get -y install r-recommended libedit2 libssl1.1 libclang-dev libxkbcommon-x11-0 libsqlite3-0 libpq5 libc6
12
13
14
15
16
cd /tmp
wget -c $RSTUDIO
dpkg-sig --verify ${RSTUDIO#https://download1.rstudio.org/desktop/bionic/amd64/} && \
dpkg -i ${RSTUDIO#https://download1.rstudio.org/desktop/bionic/amd64/}