首先在 /etc/yum.repos.d 里建立一个名为 google.repo 文件,命令:gedit /etc/yum.repos.d/google-chrome.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
安装命令
yum install google-chrome-stable --nogpg 来安装最新稳定版
yum install google-chrome-unstable --nogpg 最新版chrome