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




Mastering the SQLite Database in Python

SQLite is a relational database management system based on the SQL language; it is a serverless, Zero-configuration database engine. It is one of the...

Basics of Working with the SQLite Database in Python

A database is one of the most useful and popular files for storing data; they can be used to store any kind of data, including text, numbers, images, binary data, files, etc. SQLite is a relational database management system based on the SQL language. It is a C library, and it provides an API to work with other programming languages, including Python. It does not require a separate server process to be run as needed in large database engines like MySQL and Postgresql.

5 Ways to Check the Linux Version

When most people talk of Linux, they are always referring to a Linux distribution. However, this is not the case. Linux itself is a kernel which acts as a bridge between user applications and the hardware. When we talk of a Linux distribution, we refer to an operating system developed from the Linux kernel. A distribution comes with a package manager, pre-installed applications, a Desktop Environment, and several more features.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

How to Create a Comprehensive Mail Server on Ubuntu

Postal is a free and open-source mail server used to send and receive emails. It comes loaded with tons of excellent features and functionalities, making it extremely popular among large organizations as well as in enterprise settings.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.


Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

Top 5 Linux Distros for Windows Users

When Microsoft initially released Windows 7 in October 2009, the software giant committed to providing ten years of support for its popular operating system.  The much-maligned Microsoft was true to their word, support for Windows 7 ended just yesterday a little over ten years after its release.

VIDEO: Linux Lite 4.8 Features and Desktop Tour

Linux Lite eases Windows 7 users transition to Linux much more comfortable by offering simple software like Team Viewer, VLC, Firefox, TimeShift backup utility, and a full Microsoft Office compatible office suite in LibreOffice.

5 Best Application Launchers for Ubuntu

Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.

6 cool and fun Linux commands you don’t want to miss

The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.