在google网站下载chrome速度很慢,但是添加了chrome的源之后,就可以在终端通过yum install 来安装chrome了,会快很多。
首先在/etc/yum.repos.d里建立一个名为google.repo文件,然后复制以下代码到其中,然后保存:
32位系统:
[google]
name=Google – i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
64位系统:
[google64]
name=Google – x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
然后使用:
1.sudoyum installgoogle-chrome-stable --nogpg 来安装最新稳定版
2.sudoyum installgoogle-chrome-unstable--nogpg 最新版chrome