Wednesday, November 13, 2013

How to install Google Chrome 28+ on CentOS 6

Google folks dropped Chrome support for CentOS 6.x form Google Chrome 28 onwards, so try to install Chrome in CentOS 6.x you might hit some problems, such as:

error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by google-chrome-stable-31.0.1650.48-1.x86_64

Richard wrote a nice script called "install_chrome.sh" to install Chrome 28+ in your CentOS 6.x.

What he does in the script is grabbing libraries from a more recent Linux distro, put them in a tree (/opt/google/chrome/lib) exclusively picked up by Google Chrome and then you can indeed run Google Chrome on CentOS 6.4 or later.

Here is the install_chrome.sh and installation is simple:
chmod u+x install_chrome.sh
./install_chrome.sh

Note: In order for nacl_helper to start correctly, the current release requires you to disable SELinux e.g. temporarily with "echo 0 >/selinux/enforce" as root or permanently by editing /etc/selinux/config to set SELINUX=permissive and then rebooting.

For more detailed info, visit Richard's website (http://chrome.richardlloyd.org.uk/).

No comments: