Installing Google Chrome on Centos 7
Centos 7
Enable yum repository by logging in as root at a bash prompt, then cut/copy/paste the following:
cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - $basearch 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 EOF
You will see the following
[root@mycomputer ~]# cat << EOF > ~/google-chrome.repo
> [google-chrome]
> name=google-chrome - $basearch
> 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
> EOF
[root@mycomputer ~]#
Install Google Chrome Stable version with the following command
yum install google-chrome-stable
Centos 6
Enable yum repository
cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - $basearch 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 EOF
Install Google Chrome Stable version.
Sadly, the Google Chrome browser no longer supports the most famous commercial distribution RHEL 6.x and its free clones such as CentOS and Scientific Linux. Yes, they’ve discontinued support for RHEL 6.X version as of Google Chrome
Luckily, there is a script developed by Richard Lloyd, that automatically download and install latest Google Chrome browser by picking libraries from a more recent released distro and put those libraries in (/opt/google/chrome/lib) directory and then you can able to run Google Chrome on RHEL/CentOS 6.x versions.
# wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod u+x install_chrome.sh # ./install_chrome.sh