Ubuntu 16.04下安装谷歌浏览器(转)

1.进入 Ubuntu 16.04 桌面,按下 Ctrl + Alt + t 键盘组合键,启动终端。

2.在终端中,输入以下命令,将下载源加入到系统的源列表。

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

如果返回“地址解析错误”等信息,可以百度搜索其他提供 Chrome 下载的源,用其地址替换掉命令中的地址。

3.在终端中,输入以下命令,导入谷歌软件的公钥,用于下面步骤中对下载软件进行验证。

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

4.在终端中,输入以下命令,用于对当前系统的可用更新列表进行更新。这也是许多 Linux 发行版经常需要执行的操作,目的是随时获得最新的软件版本信息。

sudo apt-get update

5.在终端中,输入以下命令,执行对谷歌 Chrome 浏览器(稳定版)的安装。

sudo apt-get install google-chrome-stable

6.最后,如果一切顺利,在终端中执行以下命令,将会启动谷歌 Chrome 浏览器。

/usr/bin/google-chrome-stable

 ----------------------------------------------------

来源:http://www.linuxidc.com/Linux/2016-05/131096.htm

原文地址:https://www.cnblogs.com/hezhiyao/p/8336990.html