Last active
January 7, 2016 14:38
-
-
Save jtilly/4c2a0d056148dc9f6795 to your computer and use it in GitHub Desktop.
Shell script that downloads and installs the latest version of RStudio Desktop (Ubuntu / Debian)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# get the latest version | |
VER=$(wget --no-check-certificate -qO- https://s3.amazonaws.com/rstudio-desktop/current.ver) | |
# download it | |
wget https://download1.rstudio.org/rstudio-${VER}-amd64.deb | |
# install it | |
sudo dpkg -i rstudio-${VER}-amd64.deb | |
# clean up | |
rm -f rstudio-${VER}-amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment