aims-install-rstudio 625 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
apt-get -qq update
apt-get -y install r-recommended libedit2 libssl1.1 libclang-dev libobjc-8-dev libobjc4
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/}