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.
1 2 3 | # gedit /etc/yum.repos.d/google.repo |
If your OS is 32-bit then add these lines to above file:
1 2 3 4 5 6 7 8 | [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:
1 2 3 4 5 6 7 8 | [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
1 2 3 | # yum update |
Install Google Chrome Stable Version
1 2 3 | # yum install google-chrome-stable |
Install Google Chrome Beta Version
1 2 3 | # yum install google-chrome-beta |
Install Google Chrome Unstable Version
1 2 3 | # 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:
1 2 3 4 5 | --> 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:
1 2 3 | # strings /usr/{lib,lib64}/libstdc++.so.6 | grep GLIBCXX |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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:
1 2 3 | # chmod u+x install_chrome.sh |
Now run the script to install google chrome.
1 2 3 | # ./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