在 Kali Linux 中安装 Chromium - 软件包“chromium”没有安装候选项

在 Kali Linux 中安装 Chromium - 软件包“chromium”没有安装候选项
# apt install chromium

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package chromium is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, is only available from another source

E: Package 'chromium' has no installation candidate

我该如何修复它?

软件包‘chromium’没有安装候选项

答案1

Chromium 网络浏览器软件包名为chromium 浏览器,而不是 Kali Linux 中的 chromium。要安装它,请打开终端并输入:

sudo apt update 
sudo apt install chromium-browser

答案2

我在 Kali 2020 上也需要 Chromium,我这样做了:

将 debian 存储库添加到 /etc/apt/sources.list:

deb http://ftp.debian.org/debian stable main contrib non-free

运行更新:

sudo apt update

然后安装 Chromium:

sudo apt install chromium chromium-l10n

对我来说效果很好,也许这不是最好的解决方案,但至少它有效。

相关内容