Installing Rstudio on Ubuntu 18

Hello- I'm trying to update Rstudio Desktop from 1.2.1335 to 1.2.5001 on my local Ubuntu machine (18.04.3 LTS) and am having a heck of time.

Now I have NO Rstudio. [crying emoji]

What I tried

  • downloaded the package installer
  • ran the following:

  $ sudo gdebi rstudio-1.2.5001-amd64.deb

this ended (prematurely?) with the following output

Preparing to unpack rstudio-1.2.5001-amd64.deb ...
Unpacking rstudio (1.2.5001) over (1.2.5001) ...
Setting up rstudio (1.2.5001) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'

Sure enough, running:
$ rstudio

yields:

rstudio: error while loading shared libraries: libssl.so.1.0.2: cannot open shared object file: No such file or directory

Googling the error and following a few threads, I uninstalled, and ran the following sequent:

sudo apt remove rstudio
sudo apt install libssl1.0-dev
sudo apt-get update
sudo apt -y install r-base
sudo apt -y upgrade

and then tried an install with the other installer:


sudo dpkg -i rstudio-1.2.5001-amd64.deb

All with the same result...

Any help is appreciated.

Btw, my R version is 3.6.1 and runs from the command line without issue

Here's some sys_info() output:

sysname 
"Linux" 
release 
"4.15.0-65-generic" 
version 
"#74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019" 
nodename 
"*****"
machine 
"x86_64" 
login 
"*******" 
user 
"*******" 
effective_user 
 "*******"

UPDATE:
I guess I maybe downloaded the debian 9 installer package instead of Ubuntu 18/ Debian 10 (the two debian installers are identically named on the download page btw; maybe change this @rstudio1? ).

But, following this github issue thread, I uninstalled/ reinstalled once again, and everything works.

Whew

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.