Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Web Browsers»How to Install Google Chrome in Fedora & CentOS/RHEL 8

    How to Install Google Chrome in Fedora & CentOS/RHEL 8

    By RahulMarch 25, 20162 Mins ReadUpdated:April 19, 2022

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

    Advertisement

    This tutorial helps you with how to Install Google Chrome’s latest release on CentOS/RHEL 8 & Fedora Linux systems.

    • You may like: How to Install Mozilla Firefox on Linux

    Step 1 – Enable Yum Repository

    Google chrome team provides an official yum repository to install chrome on Fedora and CentOS systems. The Fedora 34/33/32 users need to enable the google-chrome repository on their system. And the CentOS/RHEL 8/7 & Fedora 26/25 Users need to create a yum configuration file on your system using the following content.

    Fedora Users

    sudo dnf install fedora-workstation-repositories
    sudo dnf config-manager --set-enabled google-chrome
    

    CentOS/RHEL 8 Users

    sudo vi /etc/yum.repos.d/google-chrome.repo
    
    File content: /etc/yum.repos.d/google-chrome.repo
    [google-chrome]
    name=google-chrome
    baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
    enabled=1
    gpgcheck=1
    gpgkey=https://dl.google.com/linux/linux_signing_key.pub
    

    Step 2 – Install or Update Google Chrome

    Now, you have a choice to install the current stable release of Google Chrome or the beta release on your Linux system. Let’s use the following commands to install the latest Google chrome as per your needs.

    Install Stable Version

    sudo dnf install google-chrome-stable     #Fedora 
    sudo dnf install google-chrome-stable     #CentOS/RHEL 8 
    sudo yum install google-chrome-stable     #CentOS/RHEL 7 
    

    Install Beta Version

    sudo dnf install google-chrome-beta     #Fedora 
    sudo dnf install google-chrome-beta     #CentOS/RHEL 8 
    sudo yum install google-chrome-beta     #CentOS/RHEL 7 
    

    Step 3 – Launch Google Chrome

    You have installed Google chrome on a Fedora/CentOS/RHEL system. Use the following command to launch Google Chrome from a non-root account and enjoy browsing.

    google-chrome
    

    or start the process in the background

    google-chrome &
    

    install Google Chrome on Fedora

    browser chrome google google chrome Linux browser web browser
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Installing Google Chrome on Pop!_OS

    How to Install Google Chrome in Pop!_OS

    Installing Google Chrome on Ubuntu and Debian

    How to Install Google Chrome Web Browser on Ubuntu & Debian

    How to View HTTP Headers in Google Chrome

    View 41 Comments

    41 Comments

    1. Anurudh on July 12, 2016 10:44 am

      hi friends
      can you suggest the how to update chrome on rhel6. my chrme version is 10.0 and i want to update chrome 51. can you write step

      Reply
      • Gerry on October 9, 2016 2:11 pm

        Can’t update google-chrome on Fedora 17 anymore either.

        Dependency errors:
        # yum update google-chrome-beta
        Loaded plugins: langpacks, presto, refresh-packagekit
        Resolving Dependencies
        –> Running transaction check
        —> Package google-chrome-beta.x86_64 0:49.0.2623.47-1 will be updated
        —> Package google-chrome-beta.x86_64 0:54.0.2840.50-1 will be an update
        –> Processing Dependency: libnss3.so(NSS_3.19.1)(64bit) for package: google-chrome-beta-54.0.2840.50-1.x86_64
        –> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: google-chrome-beta-54.0.2840.50-1.x86_64
        –> Finished Dependency Resolution
        Error: Package: google-chrome-beta-54.0.2840.50-1.x86_64 (google-chrome)
        Requires: libnss3.so(NSS_3.19.1)(64bit)
        Error: Package: google-chrome-beta-54.0.2840.50-1.x86_64 (google-chrome)
        Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
        You could try using –skip-broken to work around the problem
        You could try running: rpm -Va –nofiles –nodigest

        # yum list nss
        Loaded plugins: langpacks, presto, refresh-packagekit
        Installed Packages
        nss.x86_64 3.14.3-2.fc17 @updates
        Available Packages
        nss.i686 3.14.3-2.fc17 updates

        Reply
    2. Anto on April 26, 2016 7:38 am

      Unsupported architecture (i686), Does it will supported?

      Reply
    3. naresh on March 24, 2016 6:11 am

      this is not work . the error is Aborted (core dumped)..
      when i execute google-chrome error message like this Aborted (core dumped)…
      some one give me solution ..

      Reply
    4. ravi on October 19, 2015 4:27 pm

      I tried to upgrade from Chrome 42 to the latest ( a big mistake it as turned out). After the upgrade, the only thing I see is “Aw, Snap!” on all pages including ‘settings’. Please help resolve it. I am using scientific linux 6.x. Thanks.

      Reply
      • RAVI on April 28, 2016 4:20 pm

        Searching the internet, I found the solution to the “Aw, Snap!” problem. The command “google-chrome -no-sandbox &” did the trick . Chrome still complains that this is an unsupported option, but still works.

        Reply
    5. MartinThurn on September 2, 2015 7:09 pm

      As of today (2015-09-02), this script installs Chrome 45 which is COMPLETELY BROKEN. ALL WEB PAGES SAY “Aw, Snap”. No plug-ins can be loaded. PLEASE HELP US REVERT TO CHROME 44!!!

      Reply
    6. RHOC on April 19, 2015 5:15 pm

      Yes this installation works also on Oracle Linux 7 like a charm. 🙂

      Dhanyavad/ Shukriya/Thanks Rahul and Richard.

      Richard Script is ideal when one is confronted or considering RHEL stone cold Developer support.

      http://chrome.richardlloyd.org.uk/install_chrome.sh

      Reply
    7. Jerald on December 7, 2014 7:05 pm

      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 🙁

      Reply
      • jsel on May 5, 2015 1:55 am

        I struggled with the same issue for a week and found that google chrome opened magically without
        any problem after I did “rm -rf ~/.config/google-chrome/*”.

        Try it and hope it helps you.

        Reply
    8. Jerald on December 6, 2014 5:25 am

      hi manoj and wei,
      I have the same issue on my Centos 6.4.
      The google chrome wont open, its just 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.

      Reply
    9. wei on November 4, 2014 10:35 pm

      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?

      Reply
      • wei on November 5, 2014 5:12 pm

        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)

        Reply
    10. manoj on October 28, 2014 11:22 am

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

      Reply
    11. MTilley on October 16, 2014 5:34 pm

      I cannot start google chrome version 38.0.2125.104 on RHEL 6.5.

      [email protected] ~ $ 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?

      Reply
    12. Raven on September 29, 2014 6:44 pm

      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?

      Reply
      • Raven on September 29, 2014 6:55 pm

        Never mind. It seemed to fix itself. Thanks!

        Reply
    13. Abhilash on September 23, 2014 8:57 am

      Thanks so much for the simple and wonderful article to install chrome on my centos 6.5

      Reply
    14. Florin on August 5, 2014 10:22 am

      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

      Reply
    15. zamaan on July 31, 2014 6:30 pm

      wow, never though this much easy installaing chrome on my centos 6.5 box. thanks so much for the lessons.

      Reply
    16. Donald on July 23, 2014 4:38 pm

      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

      Reply
      • Ahmed Talaat on August 30, 2015 10:22 pm

        You have to switch from the root user.

        If you are on the terminal then, “su username” then type your password or you can also log off root from the GUI and log on a regular user. Now open the terminal and type in “google-chorme &” and everything should just work fine.

        Reply
    17. Vinay Gajendra on July 3, 2014 5:37 am

      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

      Reply
    18. manoj gupta on June 27, 2014 6:18 am

      Hi Friends,

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

      Kindly help us regarding this.

      Regards,
      Manoj Gupta
      [email protected]

      Reply
      • Rahul on June 27, 2014 10:40 am

        Hi Manoj,

        Does your system has SELinux Enforcing ? if yes, disable it and try again.

        Reply
        • Manoj Gupta on June 27, 2014 10:53 am

          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

          Reply
    19. Dinesh Koirala on June 12, 2014 11:32 am

      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?

      Reply
    20. Sunil on June 7, 2014 6:14 am

      very helpful !!

      Reply
    21. JW on June 5, 2014 3:09 pm

      Genius! I thought all hope was lost trying to get Chrome installed on RH6.5. This worked like a charm.

      Reply
    22. Ehsan on June 1, 2014 10:36 am

      thank you very much.

      Reply
    23. Curt on February 19, 2014 6:32 pm

      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?

      Reply
    24. pushpendra on February 11, 2014 8:34 pm

      First update-

      yum update
      then try above step it will work fine

      Reply
    25. Richard Lloyd on December 11, 2013 10:37 pm

      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).

      Reply
      • Rahul on December 12, 2013 6:10 am

        Thanks Richard for your comment, I have updated this article as per recommendation.

        Reply
        • manish on February 6, 2014 6:56 am

          sir , install chrome multiple times but one system not installing
          amd sempron ne-1250
          kernal 2.6.32-279

          Reply
          • Rahul Kumar on February 6, 2014 9:02 am

            Hi Manish,

            Are you getting any errors while running script ?

            Reply
    26. Pamela on November 25, 2013 6:17 pm

      Hey Rahul, thanks for sharing this info.

      Reply
    27. Austin Trombley on November 13, 2013 10:46 pm

      How on earth do I add that content to /etc/yum.repos.d/google.repo ??? Can’t find how to do this anywhere?

      Reply
    28. Dessie on November 2, 2013 12:17 am

      I like it when folks get together and share thoughts.
      Great blog, stick with it!

      Reply
    29. Diego on July 23, 2013 11:52 pm

      I got a lot of dependency errors:

      http://pastebin.com/WcqbnHUs

      Could u help me please?

      Im using CentOS 5.8 64bit.

      Thank you!

      Reply
      • Rahul on July 24, 2013 8:00 am

        Hi Diego,

        Newer version of Google chrome are no more supported CentOS 5. We recommend to upgrade to CentOS 6.

        Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Error: EACCES: permission denied, scandir (Resolved)
    • How To Install Python 3.11 on Ubuntu 22.04 / 20.04
    • How to Install Python 3.11 on Amazon Linux 2
    • An Introduction to the “./configure” Command: Compiling Source Code in Linux
    • How to Install PHP 8.x on Pop!_OS
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.