如何完全删除firefox使其不会更新?

Avi*_*ose 9 updates uninstall firefox language

我真的不喜欢 firefox,所以安装后我做的第一件事是安装 Chromium 作为浏览器并通过终端使用以下命令删除 firefox:

sudo apt-get remove --purge firefox
Run Code Online (Sandbox Code Playgroud)

但是每次更新管理器打开它都会列出 Firefox 的语言包。我可以取消选中该包,但它变得相当烦人。

是否有一些我还需要清除的遗留文件?

Anw*_*war 15

使用此命令删除 firefox 和所有相关的语言包

sudo apt-get --purge autoremove firefox
Run Code Online (Sandbox Code Playgroud)

它应该删除 Firefox 和它的所有语言包。我电脑中的输出如下所示:

anwar@edubuntu-lenovo:~$ sudo apt-get autoremove firefox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  firefox firefox-globalmenu firefox-gnome-support 
Run Code Online (Sandbox Code Playgroud)

您的输出可能会因您安装的软件包而异。重要的是你应该看到这些包的卸载

firefox firefox-globalmenu firefox-gnome-support
Run Code Online (Sandbox Code Playgroud)

使用autoremovefirefox 需要的卸载包,但在删除它后现在不需要。没有autoremove这些包将留在系统上。

autoremove:删除系统上不再需要的任何软件包。例如,如果我安装包 A,它可能会安装包 B 和 C 作为依赖项。简单地卸载 A 包并不会自动卸载 B 和 C 包,它们会保持安装状态。apt-get autoremove 在您的系统中搜索已作为依赖项安装但不再使用的软件包并删除它们。

有关详细信息,请参阅apt-get手册页

希望这可以帮助。


BuZ*_*dEE 1

在终端中,您可以列出 Firefox 相关的包。

dpkg --list | grep firefox
Run Code Online (Sandbox Code Playgroud)

卸载不需要的软件包。