我正在尝试在 Ubuntu 上安装 R 编程语言。我已按照这些说明进行操作,但似乎缺少我无法安装的依赖项。
https://docs.rstudio.com/resources/install-r/
我已经用谷歌搜索了......但没有什么特别突出......我错过了什么?
kye@DEVRSTUDIO:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
kye@DEVRSTUDIO:~$ sudo apt update
Hit:1 http://azure.archive.ubuntu.com/ubuntu eoan InRelease
Get:2 http://azure.archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages [261 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 Packages [203 kB]
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 http://security.ubuntu.com/ubuntu eoan-security InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Fetched 650 kB in 1s (501 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
kye@DEVRSTUDIO:~$ sudo apt install libicu60
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicu60
kye@DEVRSTUDIO:~$
libicu60
仅在 Ubuntu 18.04 中可用。它在之前或之后的任何版本中都不可用。您可以尝试从http://packages.ubuntu.com获取 18.04 软件包并在本地安装它,但不能保证它会起作用。
sudo apt install /path/to/package.deb
. (显然,您必须提供路径和包名)