Skip to content

Instantly share code, notes, and snippets.

@hudson-newey
Created November 29, 2022 05:11
Show Gist options
  • Save hudson-newey/00303187331c88a5dc9ef18d9600fda4 to your computer and use it in GitHub Desktop.
Save hudson-newey/00303187331c88a5dc9ef18d9600fda4 to your computer and use it in GitHub Desktop.
#!/bin/bash
# uninstall old instance of rstudio
sudo gdebi -r rstudio
# install new instance
# install dependencies
sudo apt update
sudo apt install gdebi-core && sudo apt install r-base
# download working install file
wget https://s3.amazonaws.com/rstudio-ide-build/desktop/jammy/amd64/rstudio-2022.07.0-546-amd64.deb
# install and delete install file
sudo gdebi install ./rstudio-2022.07.0-546-amd64.deb && ./rstudio-2022.07.0-546-amd64.deb
# install and move libraries to appropriate runtime directories
var="sudo locate libcrypto.so.1.1 -n 1" && SSLLoc=$(eval $var) && cp $SSLLoc /usr/lib/libcrypto.so.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment