How to Install Google Chrome 38 in CentOS/RHEL 6 and Fedora 19/18

Google Chrome is a freeware web browser developed by Google. It was released as a beta version for Microsoft Windows on September 2, 2008, and as a stable public release on December 11, 2008. Google Chrome 38 is latest stable version available to download.

Google Chrome 38 Released: This article will help you to install Google chrome on CentOS & RHEL 6 and Fedora 19/18.

Changes and Improvements in This Release
  • Rich Notifications Improvements
  • An Updated Incognito / Guest NTP design
  • The addition of a Browser crash recovery bubble
  • Chrome App Launcher for Linux
  • Lots of under the hood changes for stability and performance
  • Be careful before installing it, The script recommended to upgrade system to latest version to work Google chrome properly
    Step 1: Install/Update Google Chrome

    Richard Lloid provided an shell script to grab 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.5 or later. Read More

    # wget http://chrome.richardlloyd.org.uk/install_chrome.sh
    # chmod +x install_chrome.sh
    # sh install_chrome.sh
    

    If you are using older version of Linux distribution, This script will prompt you for confirmation to upgrade system. As per Richard Lloid we need to upgrade system by typing yes to work properly.

    Step 2: Launch Google Chrome

    Use following command to start Google Chrome from non root account.

    $ google-chrome
    

    or start process in background

    $ google-chrome &
    

    google-chrome-on-linux

    Step 3: Uninstall Google Chrome

    If you have used above shell script to install Google chrome. Then you can use use following command to uninstall Google Chrome and its dependencies added by this script.

    # sh install_chrome.sh -u
    
    Know Error

    Error 1: Facing below error while starting Google chrome.

    # google-chrome
    /usr/bin/google-chrome: /usr/lib/libnss3.so: version `NSS_3.14.3′ not found (required by /usr/bin/google-chrome)

    Solution - Update nss package to latest version

    # yum update nss
    

    References:
    http://chrome.richardlloyd.org.uk/

    29 thoughts on “How to Install Google Chrome 38 in CentOS/RHEL 6 and Fedora 19/18

    1. Thanks for mentioning my install_chrome.sh script, but I should warn people that you really need to be on at least CentOS 6.4 for the latest Google Chrome to work correctly. I’ve tested 6.0-6.3 and they *all* have various issues trying to run Google Chrome. Hence, my advice is to follow what the script suggests and upgrade to beyond 6.3 (i.e. “yes” to any upgrade prompt the script gives you and not the “no” that this article suggests as a possibility).

    2. Thanks for the work and sharing the script. I was able to get chrome 33.0 up & running on RHEL6.4.
      I am, however, having an issue getting google hangouts/voice/video plugin working. I’ve installed the 64bit rpm, I see it in about:plugins, yet when I try hangouts, or try to make a call, I get the message that I need to download the voice plugin.
      Anyone else seeing this, have a recommended fix?

    3. i am using red hat linux 6 but the chrome install on my computer as proceed above but did not show where it install and doenot start too?

    4. Hi Friends,

      I have tried it with above mention but we are getting below error.
      [root@dhcppc4 ~]# google-chrome
      [0627/113401:ERROR:nss_util.cc(90)] Failed to create /root/.pki/nssdb directory.

      Kindly help us regarding this.

      Regards,
      Manoj Gupta
      manoj919319@gmail.com

        • Hi Rahul,

          Thanks, It ‘s now working… but is it possible, we will created any selinux access rule and it will work without disable selinux ?

          Regards,
          Manoj gupta

    5. Hi Rahul,

      Ignore privious one.

      Please help me out.when i fire command google-chrome or google-chrome &
      showing bash: google-chrome: command not found
      note : SElinux is already in permissive mode.

      Regards
      Vinay
      +918010991147

    6. Hello,
      I have error in lanch

      LaunchProcess: failed to execvp:
      /opt/google/chrome/chrome-sandbox
      [1:1:0723/182640:ERROR:nacl_fork_delegate_linux.cc(253)] Bad NaCl helper startup ack (0 bytes)
      Abandon (core dumped)

      in RedHat last version of nss (nss-3.16.1-4.el6_5.x86_64)

      A idea ?
      Thanks and Best Regards

    7. Hi,
      I install google chrome in my VPS (I have CentOS 6.5) but, I receive next error: Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

      A idea?

      Best Regards,
      Florin

    8. I’ve been trying to get this work for quite awhile but I can’t even seem to download the script with wget. I’m getting 400 bad request errors. I’ve tried just downloading the script through the browser but then it seems unable to wget version.dat. Any ideas as to why?

    9. I cannot start google chrome version 38.0.2125.104 on RHEL 6.5.

      me@host ~ $ uname -a
      Linux host 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

      Every attempt results in this following error in dmesg:

      cat[15941]: segfault at 0 ip (null) sp 00007fff4dc70a08 error 4 in cat[400000+b000]
      cat[15942]: segfault at 0 ip (null) sp 00007fff0fa65428 error 4 in cat[400000+b000]
      lo: Disabled Privacy Extensions
      SELinux: initialized (dev proc, type proc), uses genfs_contexts

      I can see that chrome-sandbox is a zombie process. Two copies of /opt/google/chrome/chrome are stoped. These 3 processes will duplicate for every attempt I attempt to start google-chrome-stable.

      Any ideas? Is this a known issue?

    10. hey after successfull instalation on centos 6.0 i am nt able to open chrome after double click its not opening its getting stuck.

    11. I installed the latest Chrome with the install_chrome.sh on my RHEL6.6. When I started Chrome either by clicking at the Chrome icon or running command “google-chrome”, it just hung there. I edited the /opt/google/chrome/google-chrome by adding “echo …” at various points; then ran “google-chrome”. It turned out the script stuck at this line:
      exec > >(exec cat)
      After I commented out the above line, it stuck at the last line “exec -a ….”..
      After I commented this line “exec 2> >(exec cat >&2)”, it hung again with the following error message:
      nss_util.cc(94)] Failed to create /wei/.pki/nssdb directory.
      However, the new /wei/.pki/nssdb was created.

      How to fix this?

      • In addition to comment out these two lines in /opt/google/chrome/google-chrome: exec > >(exec cat) and exec 2> >(exec cat >&2), I also disabled SELinux as suggested in some postings here. Now Google Chrome is running, but still has following error messages:

        /opt/google/chrome/nacl_helper: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15′ not found (required by /opt/google/chrome/nacl_helper)
        [1:1:1105/104547:ERROR:nacl_fork_delegate_linux.cc(292)] Bad NaCl helper startup ack (0 bytes)
        libGL error: failed to open drm device: Permission denied
        libGL error: failed to load driver: r600
        [17530:17572:1105/104625:ERROR:channel.cc(316)] RawChannel read error (connection broken)
        [17530:17572:1105/104632:ERROR:channel.cc(316)] RawChannel read error (connection broken)
        [17530:17572:1105/104639:ERROR:channel.cc(316)] RawChannel read error (connection broken)
        [17530:17572:1105/104648:ERROR:channel.cc(316)] RawChannel read error (connection broken)
        [17530:17572:1105/105333:ERROR:channel.cc(316)] RawChannel read error (connection broken)

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>