Created
November 29, 2022 05:11
-
-
Save hudson-newey/00303187331c88a5dc9ef18d9600fda4 to your computer and use it in GitHub Desktop.
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 | |
# 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