我可以卸载并用我选择的其他浏览器替换 Firefox 吗?

adj*_*fac 0 installation uninstall browser

我不喜欢 Firefox Web 浏览器,我更喜欢使用其他东西。

如何删除它并使用我选择的浏览器?

enz*_*tib 10

可以有一些依赖于(或推荐)浏览器的包,以虚拟包的形式(firefox提供虚拟包www-browsericeweaselgnome-www-browser)或通过替代(一些包依赖于firefox | chromium-browser)。

要解决您的问题,您可以使用aptitude它提供更多选择以继续。该包aptitude默认没有安装,所以需要安装

sudo apt-get install aptitude
Run Code Online (Sandbox Code Playgroud)

那么你可以做

aptitude --simulate remove firefox
Run Code Online (Sandbox Code Playgroud)

看看它有什么建议。这是它在我的系统上所说的

enzotib@laptop:$ aptitude --simulate remove firefox
The following packages will be REMOVED:  
  firefox 
0 packages upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
Need to get 0 B of archives. After unpacking 30.6 MB will be freed.
The following packages have unmet dependencies:
  icedtea-plugin: Depends: firefox (>= 4.0~b7) but it is not going to be installed. or
                           chromium-browser but it is not going to be installed. or
                           epiphany-browser but it is not going to be installed. or
                           midori but it is not going to be installed.
  firefox-globalmenu: Depends: firefox (= 5.0+build1+nobinonly-0ubuntu0.11.04.2) but it is not going to be installed.
  firefox-gnome-support: Depends: firefox but it is not going to be installed.
The following actions will resolve these dependencies:

      Remove the following packages:                                                             
1)      firefox-globalmenu                                                                       
2)      firefox-gnome-support                                                                    
3)      icedtea-plugin                                                                           
4)      icedtea6-plugin                                                                          

      Leave the following dependencies unresolved:                                               
5)      totem-mozilla recommends epiphany-browser | www-browser                                  
6)      ubuntu-desktop recommends firefox                                                        
7)      ubuntu-desktop recommends firefox-gnome-support                                          
8)      moonlight-plugin-mozilla recommends firefox | abrowser | iceweasel | xulrunner-1.9.2     
9)      ubuntu-restricted-addons recommends icedtea6-plugin                                      
10)     xul-ext-ubufox recommends firefox (>= 4.0~b6) | abrowser (>= 4.0~b6)                     
11)     mozilla-libreoffice recommends iceweasel | firefox | iceape-browser | konqueror-nsplugins


Accept this solution? [Y/n/q/?] 
Run Code Online (Sandbox Code Playgroud)

通过这种方式,您可以看到删除 firefox 哪些软件包会损坏。如果您选择n,则会建议另一种可能的解决方案,依此类推。

当您最了解问题并选择了自己的方式时,请在aptitude没有--simulate选项的情况下运行。