加入收藏 | 设为首页 | 会员中心 | 我要投稿 常州站长网 (https://www.0519zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

CentOS下如何安装chrome浏览器

发布时间:2016-09-08 07:30:07 所属栏目:Linux 来源:站长网
导读:首先说一下,谷歌的浏览器已经不支持RedHatCentOS平台了,需要手动编译安装,会显得很麻烦的。 以下通过一种简单的方式来安装。 1、先下载脚本 http://chrome.r

首先说一下,谷歌的浏览器已经不支持RedHat&CentOS平台了,需要手动编译安装,会显得很麻烦的。

以下通过一种简单的方式来安装。

1、先下载脚本 http://chrome.richardlloyd.org.uk/install_chrome.sh

2、然后使用gedit编辑install_chrome.sh,并将其中的 http://omahaproxy.appspot.com改为https://dl.google.com/linux/direct /google-chrome-stable_current_x86_64.rpm。

修改之后为:

chrome_csv="https://dl.google.com/linux/direct    
/google-chrome-stable_current_x86_64.rpm/all?os=linux&channel=$csv_type"

3、对下载的脚本 执行以下命令

chmod +x install_chrome.sh    
./<span style="font-size:18px;">install_chrome.sh</span>

本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/

(编辑:常州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读