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

Jan Groenewald's avatar
Jan Groenewald committed
3
RSTUDIO=https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1717-amd64.deb
4
5

gpg --keyserver keys.gnupg.net --recv-keys 3F32EE77E331692F
6
7
8
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
9
apt-get -y install r-recommended libedit2 libssl1.1 libclang-dev libxkbcommon-x11-0 libsqlite3-0 libpq5 libc6
10
11
12
13
14
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/}