如何彻底删除firefox所以它不会更新?

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

sudo apt-get remove --purge firefox 

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

在某处我还需要清除一些挥之不去的文件吗?

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

 sudo apt-get --purge autoremove firefox 

它应该删除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 

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

 firefox firefox-globalmenu firefox-gnome-support 

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

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

希望这可以帮助。

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

 dpkg --list | grep firefox 

卸载不需要的软件包。

试试这个应该工作

 sudo apt-get --purge autoremove firefox-locale-en unity-scope-firefoxbookmarks xul-ext-webaccounts sudo apt-get --purge autoremove firefox sudo rm -rf ~/.mozilla