我想使用 Debian 软件包中的 Firefox,而不是 snap 中的 Firefox,因此我卸载了前者并通过 App Center 安装了后者,并仔细检查它是否显示已安装 Debian 软件包。
但是,当我尝试通过 GUI(即 Windows 键 + 搜索)运行 Firefox 时,没有任何反应,终端显示:
$ firefox
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:
snap install firefox
如何告诉 Ubuntu 使用已安装的 Debian?
我使用的是 Ubuntu 23.10。
新版 Firefox 122 的 Mozilla .deb 软件包和 Ubuntu Snap 软件包的情况最近发生了变化。虽然 Mozilla 之前为 .deb 软件包提供了专用的 PPA,但现在他们发布了官方 .deb 软件包。
安装该版本的最佳方法(并确保您安装和使用 .deb 而不是 Snap 软件包)在其支持页面上有详细说明: https: //support.mozilla.org/en-US/kb/安装 firefox-linux#w_install-firefox-deb-package-for-debian-based-distributions
有关更多评论和稍微不那么“技术”的说明,请参阅 Joey Sneddon 在 OMG!Ubuntu 上关于该主题的文章:
https://www.omgubuntu.co.uk/2024/01/firefox-122-released-with-official-deb
https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04