Skip to content

How to Install Google Chrome using YUM on Linux CentOS, RedHat, Fedora

Install Google Chrome browser on CentSO 6, RedHat(REHL) 6, Fedora 15, Fedora 14, Fedora 13, Fedora 12. You can install Chrome browser with Google YUM repository. Followe the proces given below and enjoy google chrome on Linux.

Enable Google YUM repository:
create and add following to /etc/yum.repos.d/google.repo file:
Note: You need to be a root user to continue with the process.

# gedit /etc/yum.repos.d/google.repo

If your OS is 32-bit then add these lines to above file:

[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

If your OS is 64-bit then add these lines to above file:

[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

Now, save and exit from gedit editor. Update the repository

# yum update

Install Google Chrome Stable Version

# yum install google-chrome-stable

Install Google Chrome Beta Version

# yum install google-chrome-beta

Install Google Chrome Unstable Version

# yum install google-chrome-unstable

If the above command works for you the happy and enjoy your google chrome. But if it’s not works for you then try to install using this second method. You will get following error when you try to install Google Chrome currently on CentOS/RHEL:

--> Finished Dependency Resolution
Error: Package: google-chrome-stable-31.0.1650.63-1.i386 (google-chrome)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)

And if you check GLIBCXX versions then you see this:

# strings /usr/{lib,lib64}/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
strings: '/usr/lib64/libstdc++.so.6': No such file

No GLIBCXX_3.4.15!

Thats why we are going to install it using another method. It’s a bash shell script “install_chrome.sh” written by “Richard K. Lloyd” that will help you to install the Google Chrome. Special thaks to him for this awesome script. You can download this script from here. Direct Download Link “install_chrome.sh” Download the script and give the execute permission:

# chmod u+x install_chrome.sh

Now run the script to install google chrome.

./install_chrome.sh

It will take some time so sit back and relax. Once it’s done your Google Chrome is installed.
Goto to the Applications->Internet->Google Chrome

GoogleChrome