How to install Google Chrome on CentOS

Like most Linux distributions out there, CentOS also ships with Mozilla Firefox as the default web browser. Google Chrome is not an open-source browser and that's the reason you don't see it in the CentOS default repository.

Google Chrome is the most popular web browser for desktop computers for a good reason. It comes with a lot of cool features and functionalities that appeal to casual users as well as tech-savvy professionals.

With that being said, CentOS already ships with the much loved and equally feature-rich Mozilla Firefox. However, if you have a long history with Google Chrome and want to use it on your CentOS system as well, then we are here to help.

The problem is that since Google Chrome isn’t an open-source application, it isn’t available in the official CentOS repository. As such, we have put together a step-by-step workaround to help you add Google Chrome to your YUM repository and then install it.

Installing Chrome on CentOS

Google Chrome has dropped support for 32-bit Linux distros since March 2016. As such, if you are running on CentOS 6.X or older, you need to upgrade to a recent version to Download and Install Google Chrome on your system. For this tutorial, we will be using CentOS 8.2.

Step 1: Enabling Google Chrome YUM Repository

First, we will need to create this file: /etc/yum.repos.d/google-chrome.repo. You can do this by entering the following command in the terminal:

$ sudo touch /etc/yum.repos.d/google-chrome.repo

Once the file is created, you will need to open it using your favorite editor. We will be using the nano editor for this tutorial. After opening the file, you will need to enter the following text and then save the file.


Enabling Google Chrome Yum Repository

Following these steps, you have successfully enabled the Google Chrome YUM Repository. Its time to install the Chrome web browser.

Step 2: Download and install Chrome

Next, we will be using the yum command to install the browser and make sure to pull all of its dependencies onto your system. To do this, first enter the following command in the terminal:

$ sudo yum info google-chrome-stable

This is going to give us the following output.

Checking Chrome Version

As you can see, the repository should show the latest version of Google Chrome i.e., version 84. Now that we are sure we are getting the newest version, it is time to install the browser using the following command:

$ sudo yum install google-chrome-stable

This is going to install the browser along with all its dependencies on your system.

Installing Google Chrome

Updating Google Chrome on CentOS

After installing any new software or application, it is a good practice to check for any updates. You can do this by entering the following command in the terminal:

$ sudo yum update google-chrome-stable

This should give you a similar output screen, as shown below:

Updating Google Chrome

On our system, it is showing that everything is up to date, and all the necessary dependencies are installed. That’s great news! It’s time to start the browser.

Starting Google Chrome on CentOS

To start Google Chrome, you can enter the following command. As you can see, there is no need for you to enter sudo, as you can access it as a regular user.

google-chrome &

This is going to bring up the following output screen as well as the pop-up box asking you to make Google Chrome your default browser, and whether you want to send usage stats to Google.

Starting Google Chrome

You can keep the options checked or uncheck them if you like. Once done, hit Ok, and the Google Chrome browser should open up. You can start browsing the web using it.

image-of-google-chrome -installed-on-CentOS
Google Chrome Installed

With Google Chrome successfully installed, you will also be able to run it using the GUI as well with the option to pin it to your Favorites.

Wrapping Up

So this is how you can install Google Chrome on CentOS. As you can see, it is relatively simple and doesn’t involve too many complicated steps. The same steps and commands will apply when trying to install Chrome on Fedora as well as on CentOS/RHEL 7.X.

The most important and crucial part would be enabling the Google Chrome YUM repository, as we showed earlier. Make sure to copy the text exactly as shown here, and you should be good to go.

However, if you do end up facing some errors during the installation procedure, then leave a comment explaining your problem. We would happily help you to troubleshoot the issue.

Nitish is a Technical Writer with five years of experience. He enjoys covering new tech and has a special love for Linux. He also has a keen interest in Blockchain and WordPress.


Please enter your comment!
Please enter your name here





The Ubuntu Cinnamon Remix brings together Linux Mint's Cinnamon desktop with the Ubuntu Core. While some users are welcoming the new flavor of Ubuntu with open arms, others are scratching their heads, wondering where it fits in.
The wait is finally over (almost) for all you Ubuntu fans out there. The latest version of Ubuntu, 20.10 codenamed "Groovy Gorilla," is currently available in the beta version. I have tested out the distro myself, and it is stable enough to take out for a spin.

Linux Mint Cinnamon Vs. MATE: which one to choose?

Linux Mint is by far one of the most popular Linux distros on the market, especially among Windows users who are jumping into the Linux bandwagon. This is mostly because Linux Mint comes with a familiar desktop environment that resembles the classic Windows desktop. It offers tons of quality of life features, making it very user-friendly for users who have never tried Linux before.

Ubuntu Cinnamon Remix Review

The Ubuntu Cinnamon Remix brings together Linux Mint's Cinnamon desktop with the Ubuntu Core. While some users are welcoming the new flavor of Ubuntu with open arms, others are scratching their heads, wondering where it fits in.

5 Best ways to encrypt files in Linux

Privacy is something that almost all of us have concerns about. Many people switch over to Linux because of its better privacy features. In this time, where many people believe (quite rightly so) that privacy doesn't exist anymore, Linux provides a ray of hope. Distributions like Tails OS are specifically designed for that purpose.

Installing an updatable Manjaro Linux on a USB Flash Drive

In this tutorial, we will show step by step how to install a Manjaro on a USB flash. For those new to this distro, it is a light-weight distro that is based on Arch Linux. Arch Linux is known for its simplistic approach and is typically made for Linux pros, but Manjaro bridges the gap between user-friendliness and rock-solid performance.