This tutorial aim at showing you how to install Google Chrome for your CentOS installation using YUM, which is the best way to stay up to date easily.
Enabling Google YUM Repository
Create the fileĀ /etc/yum.repos.d/google-chrome.repo and depending on your version, add the following inside (Choose the appropriate version depending of your architecture) :
[google-chrome]
name=google-chrome – 32-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
[google-chrome]
name=google-chrome – 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Note that the both repository can co-exist in the same file.
Install Google Chrome using YUM as root
Install Google Chrome Stable Version
yum install google-chrome-stable