linux下安装chrome

1.按下 Ctrl + Alt + t 键盘组合键,启动终端
2.在终端中,输入以下命令:
(将下载源加入到系统的源列表。命令的反馈结果如图。如果返回“地址解析错误”等信息,可以百度搜索其他提供 Chrome 下载的源,用其地址替换掉命令中的地址。)
xzm@ubuntu:~$  sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
3.在终端中,输入以下命令:
(导入谷歌软件的公钥,用于下面步骤中对下载软件进行验证。)
xzm@ubuntu:~$  wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
4.在终端中,输入以下命令:
(用于对当前系统的可用更新列表进行更新。这也是许多 Linux 发行版经常需要执行的操作,目的是随时获得最新的软件版本信息。)
xzm@ubuntu:~$  sudo apt-get update
5.在终端中,输入以下命令:
(执行对谷歌 Chrome 浏览器(稳定版)的安装。)
xzm@ubuntu:~$  sudo apt-get install google-chrome-stable
6.最后,如果一切顺利,在终端中执行以下命令:(启动谷歌 Chrome 浏览器)
xzm@ubuntu:~$  /usr/bin/google-chrome-stable

猜你喜欢

转载自blog.csdn.net/qq_30638831/article/details/80360597