Install Google Chrome using Google's official rpm package. Methods as below:
configure yum
First, you need to modify the update source of yum, enter the “/etc/yum.repos.d”
directory, create a new "google.repo"
file, or directly modify the directory, “CentOS-Base.repo”
and append the following parameters to the file:
32-bit system, copy the following and save
- [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-bit system, copy the following and save
- [ 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
install chrome
Open the terminal and install different versions of chrome.
Install Stable Version: yum install google-chrome-stable
Install Test Version: yum install google-chrome-beta
Install Unstable Version:yum install google-chrome-beta
After testing, the method is available.