Google Chrome 40 Released – Install on RHEL/CentOS 7/6 and Fedora 21-15

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Your name can also be listed here. Work as a Paid freelancer/writer at TecMint.

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

182 Responses

  1. KNERD says:

    I just installed on CentOS 7 using the original instructions. Works fine for me.

  2. Michael says:

    I have chrome unstable installed on centos 7. For some reason it only has the generic icon in the dock and when I restart the box chrome complains it was not shut down properly. Is that a function of running the unstable version? Ideas? Thanks

  3. Thomas says:

    Hi,
    This has been working fine for me for quite some time,
    however I just updated my Oracle Linux (RHEL) kernel – here is
    uname -a :Linux vmbox.localdomain 2.6.39-400.245.1.el6uek.x86_64 #1 SMP Thu Dec 18 00:00:59 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

    And now when I try to launch it I see this in /var/log/messages:

    Jan 12 22:30:50 vmbox kernel: cat[9666]: segfault at 0 ip (null) sp 00007fff4105b778 error 14 in cat[400000+b000]
    Jan 12 22:30:50 vmbox abrt[9669]: Not saving repeating crash in ‘/bin/cat’
    Jan 12 22:30:50 vmbox kernel: cat[9667]: segfault at 0 ip (null) sp 00007fffef1853b8 error 14 in cat[400000+b000]
    Jan 12 22:30:50 vmbox abrtd: Directory ‘ccpp-2015-01-12-22:30:50-9666′ creation detected
    Jan 12 22:30:50 vmbox abrt[9668]: Saved core dump of pid 9666 (/bin/cat) to /var/spool/abrt/ccpp-2015-01-12-22:30:50-9666 (327680 bytes)
    Jan 12 22:30:50 vmbox abrt[9688]: Saved core dump of pid 9658 (/opt/google/chrome/chrome) to /var/spool/abrt/ccpp-2015-01-12-22:30:50-9658 (16773120 bytes)
    Jan 12 22:30:50 vmbox abrtd: Directory ‘ccpp-2015-01-12-22:30:50-9658′ creation detected
    Jan 12 22:30:53 vmbox kernel: xhci_hcd 0000:00:14.0: WARN: short transfer on control ep

    Any ideas? Thank you

    • Ravi Saive says:

      @Thomas,
      This could be issue with the recent Chrome version..update to google-chrome-stable-38.0.2125.104-1.i386 will fix the issue.

      • Thomas says:

        How do I downgrade/uninstall current version & install an older specific version? Thank you

        • Ravi Saive says:

          @Thomas,
          If you’ve installed using yum manager, just use the following command remove.

          # yum remove google-chrome-stable
          

          If you’ve used script to install, just remove the google chrome folder from /opt directory and reinstall again..

          • Thomas says:

            That will just reinstall current, though, won’t it? How do I find, and then install, an older version?

            The RHEL software update ran and also tryed to update my chrome to current. it cut down on some of the /var/log/error messages –

            Jan 13 22:57:05 vmbox yum[871]: Updated: google-chrome-stable-39.0.2171.99-1.x86_64
            Jan 13 22:57:21 vmbox abrtd: Directory ‘ccpp-2015-01-13-22:57:21-1195′ creation detected
            Jan 13 22:57:21 vmbox abrt[1210]: Saved core dump of pid 1195 (/opt/google/chrome/chrome) to /var/spool/abrt/ccpp-2015-01-13-22:57:21-1195 (16773120 bytes)
            Jan 13 22:57:21 vmbox abrtd: Package ‘google-chrome-stable’ isn’t signed with proper key
            Jan 13 22:57:21 vmbox abrtd: ‘post-create’ on ‘/var/spool/abrt/ccpp-2015-01-13-22:57:21-1195′ exited with 1
            Jan 13 22:57:21 vmbox abrtd: Deleting problem directory ‘/var/spool/abrt/ccpp-2015-01-13-22:57:21-1195′

            Could the “not signed with the proper key” message be the problem? How do I sign it?

            I also have the output of strace. it is fairly long but below are the last few lines. It looks like it might be aborting itself –

            access(“/opt/google/chrome/chrome-sandbox”, F_OK) = 0
            socketpair(PF_FILE, SOCK_SEQPACKET, 0, [4, 5]) = 0
            shutdown(4, 0 /* receive */) = 0
            shutdown(5, 1 /* send */) = 0
            pipe([6, 7]) = 0
            mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fc09281f000
            mprotect(0x7fc09281f000, 4096, PROT_NONE) = 0
            clone(child_stack=0x7fc09301ed50, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fc09301f9d0, tls=0x7fc09301f700, child_tidptr=0x7fc09301f9d0) = 7923
            futex(0x7ffffc79fea4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable)
            futex(0x7ffffc79fe78, FUTEX_WAKE_PRIVATE, 1) = 0
            socketpair(PF_FILE, SOCK_SEQPACKET, 0, [8, 9]) = 0
            setsockopt(8, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
            access(“/opt/google/chrome/chrome-sandbox”, F_OK) = 0
            stat(“/opt/google/chrome/chrome-sandbox”, {st_mode=S_IFREG|S_ISUID|0755, st_size=14536, …}) = 0
            access(“/opt/google/chrome/chrome-sandbox”, X_OK) = 0
            pipe([10, 11]) = 0
            close(11) = 0
            rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
            clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc0a4280c70) = 7924
            rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0
            close(10) = 0
            recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{“ZYGOTE_BOOT\300″, 13}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=1, uid=500, gid=500}}, msg_flags=0}, 0) = 12
            rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
            tgkill(7915, 7915, SIGABRT) = 0
            — SIGABRT (Aborted) @ 0 (0) —
            +++ killed by SIGABRT (core dumped) +++
            Aborted (core dumped)

  4. Brad says:

    I’m using Centos 6.. I’m able to successfully install google-chrome using the install_chrome script however when I execute “google-chrome” Chrome display never opens. The process continues to run. When viewing the running processes I see

    /opt/google/chrome/chrome
    [chrome-sandbox]

    Any ideas?

  5. Mike says:

    I just installed chrome on centos 7 and I have an issue with it showing a generic icon for chrome. The other chrome apps I have the correct icons but not chrome itself. Also when I reboot the machine chrome always comes up and complains it wasn’t shut down properly. Any thoughts? Thanks

    • Mike says:

      Anyone have any thoughts? I am using the unstable branch and it also gives me an error that it didn’t shut down correctly when I reboot the machine.

  6. Said Munir says:

    Although I am new to linux but still using the help on this page, I successfully installed google chrome on RHEL7.

    http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/

    It feel great.

    Thank you very much

  7. Jerald says:

    hi
    I have an issue on my Centos 6.4, after running the script and upgrading to version 39
    The google chrome wont open, its just not producing anything !

    Some testers in my company wanted some other chrome version and I have run the script for a new version, But it screwed up everything :(
    I cant even run the older chrome after uninstalling the script
    The older chrome gives different error after running it.
    “Failed to move to new PID namespace:
    Operation not permitted”

    Please someone help, I screwed up our jenkins test server

    • Ravi Saive says:

      @Jerald,
      Remove “nosuid” from /etc/fstab for the /opt partition will fix this error.

      • Jerald says:

        Hi Ravi,
        Thanks for the reply.
        I am currently not at office, but I have installed the same Centos in my Virtual Box, and have done the same process by running the script and updated my O.S.

        There is no such entry called “suid” and there isn’t any /opt partition in fstab

        The same error, i.e the google chrome is unresponsive when opened. Also when,
        “#google-chrome –version” is executed, there’s no response.
        How did it work for others? Please help me :(

      • Jerald says:

        Hi Ravi,

        I was wrong, the Google chrome did perfectly work on my VM after running the script and executing as an user.

        But how did it not work on an other machine. I’m gonna have a try today at office.
        Ravi, please can I have your contact number.

  8. judy says:

    Hi, I’m getting an error when trying to run the install script.
    My OS:
    Linux youname.ucsd.edu 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

    [root@youname yum.repos.d]# ./install_chrome.sh

    This OS doesn’t look like it’s in the RHEL/CentOS 6 or 7 family.
    Very bad things could happen if you continue!

    Do you want to you want to continue (y/n) ?n

    ERROR: Probably a wise move – aborted

    Ever seen this one? I’m not keen on going ahead with that kind of error message!
    Thanks!

  9. Gosseyn says:

    Hi,

    I used your method with step 1 and 2 and it worked !!! On CentOS 7 …
    I read AFTER the mention that RH and CentOS would not work.
    Oh well, maybe the latest version of those oses were fixed to make it work again.

    Thanks a lot, it was simple and clear.

    G.

  10. Yasir Saad says:

    Hi,
    Good script, it’s fixing those horrible dependencies by itself. But i’m still getting an error at the end. Could u plz advice?

    2014-11-30 23:29:46 (57.1 KB/s) – “libgnome-keyring-3.4.1-2.fc17.x86_64.rpm” saved [103229/103229]

    *** Installing /opt/google/chrome/lib/libgnome-keyring.so.0 …
    changing security context of `/opt/google/chrome/lib/libgnome-keyring.so.0′
    *** Patching /opt/google/chrome/lib/libc.so.6 …
    changing security context of `/opt/google/chrome/lib/libc.so.6′
    *** Patching /opt/google/chrome/lib/ld-linux-x86-64.so.0 …
    changing security context of `/opt/google/chrome/lib/ld-linux-x86-64.so.0′
    *** Patching /opt/google/chrome/lib/libstdc++.so.6 …
    changing security context of `/opt/google/chrome/lib/libstdc++.so.6′
    *** Patching /opt/google/chrome/lib/libdl.so.2 …
    changing security context of `/opt/google/chrome/lib/libdl.so.2′
    changing security context of `/opt/google/chrome/modify_wrapper’

    *** Created /opt/google/chrome/modify_wrapper sucessfully …

    ./install_chrome.sh: line 1009: gcc: command not found

    ERROR: Failed to compile/install /opt/google/chrome/lib/unset_var.so – aborted

    *** Uninstalling google-chrome-stable …

    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Setting up Remove Process
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:39.0.2171.71-1 will be erased
    –> Finished Dependency Resolution

    Dependencies Resolved

    ========================================================================================================================================================
    Package Arch Version Repository Size
    ========================================================================================================================================================
    Removing:
    google-chrome-stable x86_64 39.0.2171.71-1 installed 174 M

    Transaction Summary
    ========================================================================================================================================================
    Remove 1 Package(s)

    Installed size: 174 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
    Erasing : google-chrome-stable-39.0.2171.71-1.x86_64 1/1
    Verifying : google-chrome-stable-39.0.2171.71-1.x86_64 1/1

    Removed:
    google-chrome-stable.x86_64 0:39.0.2171.71-1

    Complete!
    *** WARNING: /opt/google/chrome install tree still present – deleting it …
    *** /tmp/chrome_install tree contains 7 files totalling 67 MB …
    [root@RHEL64 Downloads]#

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>

Join Over 62000+ Linux Users
  1. 46679
  2. 2055
  3. 10101

Enter your email to get latest Linux Howto's