Ubuntu 完全卸载Firefox 的办法

来源:互联网 发布:贵阳 软件著作权资助 编辑:程序博客网 时间:2024/05/22 06:20

Ubuntu 默认的的Firefox "捆绑"了一些gnome 插件,想完美卸载的需要把相关插件也一同下载掉。有的人不是很喜欢firefox 所以想卸载掉,这是可执行以下代码:

sudo apt-get autoremove firefox firefox-branding firefox-gnome-support ubufox     //保留配置文件

sudo apt-get purge firefox firefox-branding firefox-gnome-support ubufox     //配置文件也一起删掉

演示操作代码:

lqm@lqm:~$ sudo apt-get autoremove firefox firefox-branding firefox-gnome-support ubufox 

正在读取软件包列表... 完成

正在分析软件包的依赖关系树       

正在读取状态信息... 完成       

下列软件包将被【卸载】:

  firefox firefox-branding firefox-gnome-support ubufox

升级了 0 个软件包,新安装了 0 个软件包,要卸载 4 个软件包,有 324 个软件包未被升级。

解压缩后将会空出 31.0MB 的空间。

您希望继续执行吗?[Y/n]y

(正在读取数据库 ... 系统当前共安装有 118780 个文件和目录。)

正在卸载 firefox-gnome-support ...

正在卸载 ubufox ...

正在卸载 firefox ...

正在卸载 firefox-branding ...

正在处理用于 desktop-file-utils 的触发器...

正在处理用于 python-gmenu 的触发器...

Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...

正在处理用于 python-support 的触发器...

lqm@lqm:~$