Unable to install RStudio on Ubuntu 20.04

after downloading the RStudio Desktop instalation file, and try this command, I get this message:

~/Downloads$ sudo gdebi rstudio-1.3.1056-amd64.deb

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libclang-dev

Yon need to install the libclang-dev file at system level.
Open a terminal session and issue the command

sudo apt-get install libclang-dev

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

This is strange. When I run the command I get:

john@john-ThinkPad-T510:~$ sudo apt-get install libclang-dev
[sudo] password for john:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libclang-dev is already the newest version (1:10.0-50~exp1).
libclang-dev set to manually installed.
The following package was automatically installed and is no longer required:
libllvm9
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

This seems to suggest it is available.

Maybe try something like "sudo apt-get install libclang-dev.10"?

I don"t know what else to suggest except perhaps enquiring on an Ubuntu forum.

Sorry I cannot be of more help.

1 Like

Hi, thanks for your reply. I've tried that, but I get this message:

E: Package 'libclang-dev' has no installation candidate