How to Install Google Chrome in RedHat-Based Linux Distros

Google Chrome is a most popular, fast, secure, and easy-to-use free cross-platform web browser developed by Google, and was first released in 2008 for Microsoft Windows, later versions were released to Linux, macOS, iOS, and also for Android.

Most of Chrome’s source code is taken from Google’s open-source software project Chromium, but Chrome is licensed as proprietary freeware, which means you can download and use it for free, but you cannot decompile, reverse engineer, or use the source code to build other programs or projects.

As of November 2022, Google’s Chrome is the most used internet web browser in the world with a global market share of 65.86 percent. In other words, more than six in ten people use Google Chrome to browse the internet.

Recently, Google Chrome officially rolled out Chrome 108 version for Windows, Linux, and macOS operating systems. The actual version is 108.0.5359.124 and comes with a number of exciting fixes, features, and improvements.

In this tutorial, we will show you how to install the Google Chrome web browser in RedHat-Based Linux Distros like CentOS, Fedora, Rocky Linux, and AlmaLinux using Google’s own repository with the yum package manager tool.

Important: Google Chrome support for all 32-bit Linux distributions are deprecated since March 2016.

How to Install Google Chrome on Linux

We will use Google’s Linux software packages, which are signed with GPG keys that will automatically configure the package manager repository to install and update the Chrome browser whenever a new Chrome update is released.

Step 1: Install Google YUM Repository

First, create a new file called /etc/yum.repos.d/google-chrome.repo.

# vi /etc/yum.repos.d/google-chrome.repo

and add the following lines of code to it.

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Add Google Chrome Yum Repository
Add Google Chrome Yum Repository

To save a file in vi, hit the ESC key to switch to command mode, press : (colon) to open the prompt bar, and type x after the colon and hit enter to save the changes.

Step 2: Install Google Chrome Browser on Linux

First, check whether the latest version is available from Google’s own repository using the following yum command.

# yum info google-chrome-stable
Output – Check Google Chrome Package Info
Available Packages
Name         : google-chrome-stable
Version      : 108.0.5359.124
Release      : 1
Architecture : x86_64
Size         : 92 M
Source       : google-chrome-stable-108.0.5359.124-1.src.rpm
Repository   : google-chrome
Summary      : Google Chrome
URL          : https://chrome.google.com/
License      : Multiple, see https://chrome.google.com/
Description  : Google Chrome is a browser that combines a minimal design 
with sophisticated technology to make the web faster, safer, and easier.

Do you see the highlighted output above, which clearly told that the latest version of chrome is available from the repository. So, let’s install it using the yum command as shown below, which will automatically install all the needed dependencies.

# yum install google-chrome-stable
Output – Installing Google Chrome
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                             
  Installing       : liberation-fonts-1:2.1.3-4.el9.noarch       
  Running scriptlet: google-chrome-stable-108.0.5359.124-1.x86_64
  Installing       : google-chrome-stable-108.0.5359.124-1.x86_64
  Running scriptlet: google-chrome-stable-108.0.5359.124-1.x86_64
  Verifying        : liberation-fonts-1:2.1.3-4.el9.noarch       
  Verifying        : google-chrome-stable-108.0.5359.124-1.x86_64

Installed:
liberation-fonts-1:2.1.3-4.el9.noarch                                                     
google-chrome-stable-108.0.5359.124-1.x86_64                                                      

Complete!

Update: Sadly, the Google Chrome browser no longer supports the most famous commercial distribution RHEL 6.x, and its free clones such as CentOS and Scientific Linux.

Yes, they’ve discontinued support for the RHEL 6.X version of Google Chrome, and on the other side, the latest Firefox and Opera browsers run successfully on the same platforms.

The next step for RHEL/CentOS 6 users is to move to recent releases of RHEL/CentOS or Rocky Linux/AlmaLinux, the latest Google Chrome works out of the box on these releases.

Step 3: Running Google Chrome on Linux

Start the Chrome browser with a non-root user from the command line or start it from System Menu.

# google-chrome &

Welcome screen of Chrome web browser.

Welcome Google Chrome
Welcome Google Chrome

Browsing www.tecmint.com on Chrome web browser.

Running Chrome Browser in Linux
Running Chrome Browser on Linux

That’s it, enjoy browsing with Chrome, and do let me know your browsing experience with Chrome via comments.

Tutorial Feedback...
Was this article helpful? If you don't find this article helpful or found some outdated info, issue or a typo, do post your valuable feedback or suggestions in the comments to help improve this article...

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

363 thoughts on “How to Install Google Chrome in RedHat-Based Linux Distros”

  1. Hey Google chrome not working in centos 7:

    Transaction Summary
    ======================================================================================================================================================
    Install  1 Package (+11 Dependent packages)
    
    Total size: 55 M
    Total download size: 926 k
    Installed size: 195 M
    Is this ok [y/d/N]: yes
    Downloading packages:
    
    
    Error downloading packages:
      redhat-lsb-core-4.1-27.el7.centos.1.x86_64: [Errno 256] No more mirrors to try.
      libappindicator-gtk3-12.10.0-13.el7.x86_64: [Errno 256] No more mirrors to try.
      1:liberation-narrow-fonts-1.07.2-16.el7.noarch: [Errno 256] No more mirrors to try.
      libdbusmenu-gtk3-16.04.0-4.el7.x86_64: [Errno 256] No more mirrors to try.
      libindicator-gtk3-12.10.1-6.el7.x86_64: [Errno 256] No more mirrors to try.
      libdbusmenu-16.04.0-4.el7.x86_64: [Errno 256] No more mirrors to try.
      patch-2.7.1-8.el7.x86_64: [Errno 256] No more mirrors to try.
      libXScrnSaver-1.2.2-6.1.el7.x86_64: [Errno 256] No more mirrors to try.
      spax-1.5.2-13.el7.x86_64: [Errno 256] No more mirrors to try.
      redhat-lsb-submod-security-4.1-27.el7.centos.1.x86_64: [Errno 256] No more mirrors to try.
      1:liberation-fonts-1.07.2-16.el7.noarch: [Errno 256] No more mirrors to try.
    
    Reply
    • @Shashank,

      Please enable the needed repositories correctly to install these dependency packages as shown.

      $ sudo yum clean all 
      $ sudo rm -r /var/cache/yum 
      $ sudo yum update 
      $ sudo yum install google-chrome-stable
      

      Also please install EPEL release.

      $ sudo yum install epel-release
      
      Reply
  2. Question:

    My team in China have applied this Chrome version 69 to physical PC. The Chrome is able to be installed and open in this physical PC.

    However, this Chrome is able to be installed into a mini PC but can’t be open with the following message display:

    /usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: gtk_widget_get_scale_factor

    This mini PC is configured with the following:

    • OS: CentOS Linux 7 (Core)
    • Processor: Pentium CPU J2900 @2.41GHz x 4
    • OS Type: 64 位
    • Graphic: Intel Bay Trail
    • GNOME: version 3.8.4
    • RAM: 3.6 GB
    • Storage: 28.3 GB

    Please see if there is anyone who may help to fix this problem? Thanks

    Reply
    • @Cheung,

      Try updating the system from the base repositories and it will fix this chrome error.

      # yum --disablerepo=\* --enablerepo=base,updates update
      

      and then reboot into 7.4 once it completes.

      Reply
  3. Hi, can anyone please help me with the following error. I am trying to run Chrome 68 on RHEL 7.2.

    google-chrome --headless http://www.google.com
    
    [0827/152542.289445:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context.
    shared memfd open() failed: Invalid argument
    
    Reply
  4. I am facing following error while running the Google Chrome.

    /bin/google-chrome: symbol lookup error: /bin/google-chrome: undefined symbol: gtk_style_context_set_scale

    Reply
  5. I installed Google Chrome to my CentOS VPS successfully, but when I run (via putty), it returns error: [1274:1274:0807/172204.994442:ERROR:zygote_host_impl_linux.cc(89)] Running as root without –no-sandbox is not supported. See https://crbug.com/638180.

    So, Pls help me to fix this error. Thank you.

    Reply
      • Dear Ravi Saive,

        Thank you for your response, but I still cannot start Google chrome when I remote to my VPS via Putty, Bitvise SSH. It returns error: “(google-chrome:2704): Gtk-WARNING **: cannot open display“.

        So, can I run Google chrome when I remote to VPS via Putty or Bitwise SSH?

        Thanks,
        Khai

        Reply
        • @Khai,

          That’s not possible bro, how can you run a Google chrome from a Putty without any GUI? Google chrome needs 1GB RAM with GUI support to run it..

          Reply
        • HI I am experiencing the exact same issue and im using non-root user. Did you get a fix for this? I tried X11forwarding: yes but and checked yum install for xauth and other suggested packages but they are all there. Running out of ideas with this.

          Reply
  6. After installation when i tried to share it asks me to download and install chrome remote dektop host installer but unable to install it.

    Reply
  7. Ravi , could you update the article to use GPG key from local file rather than allowing yum to retrieve the key from an external source?? It would be very helpful for me!!!
    Thanks!!!!!!

    Reply
    • @Dragos,

      If you don’t want to retrieve GPG key from external sources online, you can create your own GPG key using tools. Else you can download and install it locally as shown.

      # wget -q -O - https://dl.google.com/linux/linux_signing_key.pub
      
      Reply
  8. I tried the steps you list to install chrome on fedora20-x86_74

    Did Not Work.

    fc20 needs an older release of chrome :(

    To wit:

    # yum install google-chrome-stable
    Loaded plugins: langpacks, refresh-packagekit
    google-chrome | 951 B 00:00:00
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:21.0.1180.89-154005 will be updated
    —> Package google-chrome-stable.x86_64 0:65.0.3325.181-1 will be an update
    –> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
    –> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: google-chrome-stable-65.0.3325.181-1.x86_64
    –> Finished Dependency Resolution
    Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (google-chrome)
    Requires: libssl3.so(NSS_3.28)(64bit)
    Error: Package: google-chrome-stable-65.0.3325.181-1.x86_64 (google-chrome)
    Requires: libnss3.so(NSS_3.22)(64bit)
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.