
Libclang-dev : Depends: libclang-10-dev (>= 10~) but it is not going to be installed So apparently something is going on with libclang-dev, I tried to install it: sudo apt install libclang-dev Rstudio : Depends: libclang-dev but it is not going to be installedĮ: Unable to correct problems, you have held broken packages.įinally, as I found many tutorials installing with gdebi, I gave it another shot: gdebi b The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created b and the following happened: Note, selecting 'rstudio' instead of './b'

Then I tried to install it with sudo apt install. See apt-secure(8) manpage for repository creation and user Updating from such a repository can't be done securely, and is Public key is not available: NO_PUBKEY 51716619E084DAB9 InRelease: The following signatures couldn't be verified because the First I tried to install it with the GUI but the following message appeared: # add the R 4.0 repo from CRAN - adjust 'focal' to 'groovy' or 'bionic' as neededĪdd-apt-repository "deb $(lsb_release -cs)-cran40/"Īpt install -no-install-recommends r-baseĪfter that, I go to RStudio webpage and download b. # import the signing key (by Michael Rutter) for these repoĪpt-key adv -keyserver -recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 # update indicesĪpt install -no-install-recommends software-properties-common dirmngr So I went to the CRAN Project website and followed their instructions to install R on my laptop.

I wanted to install R with Rstudio to start learning, but I found many problems in the way, I'll explain as much as i can below.
