However, when I ran command: sudo rstudio-server start
I get the error: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
My linux version is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
You are missing a system dependency or you have an incompatible version. Are you sure you have downloaded the right installer? There are two installers, one for Ubuntu 18/20 and other for Ubuntu 22, you usually get this kind of error when you use the wrong one. If that is not the case, then try manually installing the missing system dependency.
sudo apt update
sudo apt install libssl-dev
Also, have in mind that Ubuntu 18 is reaching "end of life" in a few months.