1. 配置yum源
在目录 /etc/yum.repos.d/ 下新建文件 google-chrome.repo
vi /etc/yum.repos.d/google-chrome.repo
按i进入编辑模式,输入或复制以下内容
[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
按Esc退出编辑模式,按:进入命令模式,输入wq退出vi编辑工具。
yum -y install google-chrome-stable --nogpgcheck
执行安装,等待完成即可。