Centos 安装 Chrome

  有很多很棒的浏览器,只是习惯用Chrome。

1、配置yum下载源

su                 进入root 模式
cd /etc/yum.repos.d/      进入某个文件
vim google-chrome.repo    用vim新建一个文件,然后编辑

  在 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

  保存退出。

2. 安装google chrome浏览器:

yum -y install google-chrome-stable --nogpgcheck

 

 

 
posted @ 2018-01-23 16:10  _Mickey  阅读(230)  评论(0编辑  收藏  举报