如何在 Ubuntu 18.04 上安装 ungoogled-chromium

如何在 Ubuntu 18.04 上安装 ungoogled-chromium

我尝试安装 ungoogled-chromium下载页面但我无法安装任何软件包,而且由于我不确定它是如何工作的,所以我希望得到有关如何安装它的说明。

每次我用来dpkg -i安装下载的软件包时,它只是告诉我缺少依赖项。

例如,这个包被视为“官方”包:

sudo dpkg -i ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb

Selecting previously unselected package ungoogled-chromium.
(Reading database ... 289494 files and directories currently installed.)
Preparing to unpack ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb ...
Unpacking ungoogled-chromium (69.0.3497.100-1~bionic) ...
dpkg: dependency problems prevent configuration of ungoogled-chromium:
 ungoogled-chromium depends on libminizip1 (>= 1.1); however:
  Package libminizip1 is not installed.
 ungoogled-chromium depends on libre2-4 (>= 20160901); however:
  Package libre2-4 is not installed.
 ungoogled-chromium depends on ungoogled-chromium-common (= 69.0.3497.100-1~bionic); however:
  Package ungoogled-chromium-common is not installed.

dpkg: error processing package ungoogled-chromium (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
 ungoogled-chromium

其他软件包也有类似的问题,我下载的软件包有:

-rw-rw-r-- 1 kuai kuai  41965828 jun 18 10:58  ungoogled-chromium_69.0.3497.100-1.bionic_amd64.deb
-rw-rw-r-- 1 kuai kuai     20722 jun 18 10:59  ungoogled-chromium-browser_69.0.3497.100-1.bionic_amd64.buildinfo
-rw-rw-r-- 1 kuai kuai   2215920 jun 18 11:00  ungoogled-chromium-driver_69.0.3497.100-1.bionic_amd64.deb
-rw-rw-r-- 1 kuai kuai   2768780 jun 11 06:30  ungoogled-chromium-l10n_69.0.3497.100-1.bionic_all.deb
-rw-rw-r-- 1 kuai kuai  27513584 jun 18 11:00  ungoogled-chromium-shell_69.0.3497.100-1.bionic_amd64.deb

答案1

在包含 chromium-ungoogled .debs 类型的文件夹内部:

sudo apt-get 安装 libminizip1 libre2-4 ungoogled-chromium*.deb

注意:确保所有 chromium-ungoogled 的 .deb 文件都存在,包括常用文件。

相关内容