Ubuntu 16.04安装Chrome浏览器

来源:互联网 发布:mac wine怎么用 编辑:程序博客网 时间:2024/06/06 00:08

1.将下载源加入系统源列表

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/

2.导入谷歌软件公钥

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

3.更新源

sudo apt-get update

4.安装chrome

sudo apt-get install google-chrome-stable


注意:
1.添加源时,如果返回“地址解析错误”等信息,可以百度搜索其他提供 Chrome 下载的源,用其地址替换掉命令中的地址。
2.更新源时,如果报错,参考下面:

解决方法:1>sudo vim /etc/apt/sources.list.d/google-chrome.list 打开文件2>删除文件中的所有字符3>写入内容:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main4>sudo apt-get update

原文链接:
http://www.linuxidc.com/Linux/2016-05/131096.htm
http://www.infocool.net/kb/Other/201611/229642.html

1 0
原创粉丝点击