我尝试从下载页面安装 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
从包含 chromium-ungoogled 的 .debs 类型的文件夹内部:
sudo apt-get install libminizip1 libre2-4 ungoogled-chromium*.deb
注意:确保所有 chromium-ungoogle 的 .deb 文件都在那里,包括常见的文件。