UBUNTU16.04安装谷歌浏览器卸载firefox浏览器

一、安装谷歌浏览器

1、下载谷歌浏览器的安装包

https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 

UBUNTU16.04安装谷歌浏览器卸载firefox浏览器

2、输入以下指令安装谷歌浏览器

先安装下面的两个包

udo apt install libappindicator1 libindicator7

安装谷歌浏览器

 sudo dpkg -i google-chrome-stable_current_amd64.deb

可以执行sudo apt -f install进行依赖修复

3、点击左上角的搜索,输入chrome,找到谷歌浏览器,可以固定到左侧启动器

二、卸载firefox浏览器

1、输入下面的指令查看火狐浏览器及其扩展

dpkg --get-selections | grep firefox

UBUNTU16.04安装谷歌浏览器卸载firefox浏览器

2、输入下面的指令卸载火狐浏览器及其扩展

sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans firefox-locale-zh-hans