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.repoIf your OS is 32-bit then add these lines to above file:
[google]name=Google - i386baseurl=http://dl.google.com/linux/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pubIf your OS is 64-bit then add these lines to above file:
[google64]name=Google - x86_64baseurl=http://dl.google.com/linux/rpm/stable/x86_64enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pubNow, save and exit from gedit editor. Update the repository
# yum updateInstall Google Chrome Stable Version
# yum install google-chrome-stableInstall Google Chrome Beta Version
# yum install google-chrome-betaInstall Google Chrome Unstable Version
# yum install google-chrome-unstableIf 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 ResolutionError: 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 GLIBCXXGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_3.4.9GLIBCXX_3.4.10GLIBCXX_3.4.11GLIBCXX_3.4.12GLIBCXX_3.4.13GLIBCXX_FORCE_NEWGLIBCXX_DEBUG_MESSAGE_LENGTHstrings: '/usr/lib64/libstdc++.so.6': No such fileNo 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.shNow run the script to install google chrome.
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
