一.安装
1.将下载源添加到系统源中。
sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
2.导入google软件公钥。
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
3.更新系统列表获得最新软件版本信息。
sudo apt-get update
4.安装稳定版google
sudo apt-get install google-chrome-stable
5.启动谷歌 Chrome 浏览器
/usr/bin/google-chrome-stable
二.授权访问国外网站
在这里建议修改hosts文件【位于/etc/hosts】
hosts文件实时更新,关注https://laod.cn/hosts/2017-google-hosts.html
https://github.com/googlehosts/hosts
sudo gedit /etc/hosts or sudo cp hosts /etc/
重启网络
sudo /etc/init.d/networking restart
sudo rcnscd restart
三.卸载
sudo apt-get remove google-chrome-stable
卸载chrome后, 删除~/.config/google-chrome,重新安装。
apt-get remove --purge xxx # 移除应用及配置
apt-get autoremove # 移除没用的包
安装的时候当然一并就安装了。
apt-get remove xxx 就是删除xxx,对于依赖则是不管的。
因为别的软件也会和此软件有相同的依赖,当然对依赖不能管了。
apt-get autoremove 就是来对付那些不再“依赖”的包,自动检测并删除他们。
所以你可以先 apt-get remove xxx
然后,或者隔一段时间 apt-get autoremove