[R-sig-Debian] help installing R on Linux Mint 21.2

Luben Dimov |uben@d|mov @end|ng |rom gm@||@com
Tue Jan 2 01:23:11 CET 2024

Could you direct me to a newbie-friendly instructions for installing
the latest versions of R and RStudio on Linux Mint 21.2? I followed
instructions I could find, but no luck with managing to get RStudio
(tho I did install R).

  Kernel: 6.2.0-39-generic x86_64 bits: 64 compiler: N/A Desktop: MATE
    Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy

I was able to install what I assume is the latest R:

R version 4.3.2 (2023-10-31) -- "Eye Holes" 

through the terminal following instructions for Ubuntu (on which Linux
Mint is based) from https://linuxtldr.com/installing-r-and-
rstudio/ and https://www.linuxcapable.com/how-to-install-r-lang-on-
but I can't get RStudio to install. The error I get is:

sudo dpkg -i rstudio-*.deb           
Selecting previously unselected package rstudio.
(Reading database ... 621683 files and directories currently
Preparing to unpack rstudio-1.4.1717-amd64.deb ...
Unpacking rstudio (1.4.1717) ...
dpkg: dependency problems prevent configuration of rstudio:
 rstudio depends on libssl1.0.0 | libssl1.0.2 | libssl1.1; however:
  Package libssl1.0.0 is not installed.
  Package libssl1.0.2 is not installed.
  Package libssl1.1 is not installed.
 rstudio depends on libclang-dev; however:
  Package libclang-dev is not installed.

dpkg: error processing package rstudio (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26+mint3+victoria) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:

Trying to get that libclang-dev:
sudo apt install libclang-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libclang-dev : Depends: libclang-14-dev (>= 14~) but it is not going
to be installed
 rstudio : Depends: libssl1.0.0 but it is not installable or
                    libssl1.0.2 but it is not installable or
                    libssl1.1 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).

When I run:

sudo apt install libssl-dev

I get:

More information about the R-SIG-Debian mailing list