centos如何安装最新版本的chrome浏览器呢?下面就跟着小编来操作吧。

方法/步骤
-
1
在终端输入su,回车
-
2
输入密码后,单击回车,跳转到root用户。
-
3
修改yum源:在/etc/yum.repos.d/目录下新建文件google-chrome.repo,向其中添加如下内容后,保存并退出。
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
-
4
在终端输入命令yum install google-chrome-stable --nogpgcheck后,回车
-
5
在终端输入“y”后,回车
-
6
在终端输入命令google-chrome-stable --no-sandbox后,回车,就可以打开chrome浏览器了。
END
总结
-
1
【1】在终端输入su,回车
【2】输入密码后,单击回车,跳转到root用户。
【3】修改yum源
【4】在终端输入命令yum install google-chrome-stable --nogpgcheck后,回车
【5】在终端输入“y”后,回车
【6】在终端输入命令google-chrome-stable --no-sandbox后,回车
END
文章评论