Install Google Chrome Browser on CentOS 8

|
Last Updated:
|
|

CentOS 8 does not come with Google Chrome browser installed by default. Therefore, if you are running CentOS 8 desktop and you want to use Chrome browser, you then have to install it. Follow through this guide to learn how to install Google Chrome Browser on CentOS 8 desktop.

Installing Google Chrome Browser on CentOS 8

You go two options to install Google Chrome browser on a CentOS 8 desktop system;

  1. Download an Google Chrome RPM binary and install it using rpm or dnf package manager
    or
  2. Create the Google Chrome Linux repository and install it from Repos.

Run system update

Ensure that your system packages are up-to-date.

dnf update

Install Google Chrome using RPM Binary Package

Well, you got two options here:

Obtain a link for the Google Chrome RPM binary and install it automatically as shown below;

dnf install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
...
google-chrome-stable_current_x86_64.rpm                                                                                743 kB/s |  59 MB     01:21    
Dependencies resolved.
=======================================================================================================================================================
 Package                                     Arch                        Version                               Repository                         Size
=======================================================================================================================================================
Installing:
 google-chrome-stable                        x86_64                      79.0.3945.88-1                        @commandline                       59 M
Installing dependencies:
 libXScrnSaver                               x86_64                      1.2.3-1.el8                           AppStream                          31 k
 libappindicator-gtk3                        x86_64                      12.10.0-19.el8                        AppStream                          43 k
 libdbusmenu                                 x86_64                      16.04.0-12.el8                        AppStream                         140 k
 libdbusmenu-gtk3                            x86_64                      16.04.0-12.el8                        AppStream                          41 k
 libindicator-gtk3                           x86_64                      12.10.1-14.el8                        AppStream                          70 k
 liberation-fonts                            noarch                      1:2.00.3-4.el8                        BaseOS                             19 k
 liberation-serif-fonts                      noarch                      1:2.00.3-4.el8                        BaseOS                            607 k

Transaction Summary
=======================================================================================================================================================
Install  8 Packages

Total size: 60 M
Total download size: 951 k
Installed size: 213 M
Is this ok [y/N]: y

If you got enough time with you, download Google Chrome RPM binary package for your respective system architecture from Google Chrome page and install it as shown below.

For example, to download a binary package for a 64 bit system;

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Once the download completes, use dnf command to run the installation as shown below. This ensures that all required dependencies are taken care of.

dnf localinstall google-chrome-stable_current_x86_64.rpm

Install Google Chrome from Chrome Repositories

To create the Google chrome Linux repositories on CentOS 8, execute the command below;

cat << EOL >> /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
EOL

After the repos are in place, install Google Chrome stable version on CentOS 8 desktop.

dnf install google-chrome-stable
Dependencies resolved.
=======================================================================================================================================================
 Package                                   Arch                        Version                                Repository                          Size
=======================================================================================================================================================
Installing:
 google-chrome-stable                      x86_64                      79.0.3945.88-1                         google-chrome                       59 M
Installing dependencies:
 libXScrnSaver                             x86_64                      1.2.3-1.el8                            AppStream                           31 k
 libappindicator-gtk3                      x86_64                      12.10.0-19.el8                         AppStream                           43 k
 libdbusmenu                               x86_64                      16.04.0-12.el8                         AppStream                          140 k
 libdbusmenu-gtk3                          x86_64                      16.04.0-12.el8                         AppStream                           41 k
 libindicator-gtk3                         x86_64                      12.10.1-14.el8                         AppStream                           70 k
 liberation-fonts                          noarch                      1:2.00.3-4.el8                         BaseOS                              19 k

Transaction Summary
=======================================================================================================================================================
Install  7 Packages

Total download size: 60 M
Installed size: 211 M
Is this ok [y/N]: y

Verify Installed Version of Google Chrome

After the installation, you might want to verify the version of installed Google Chrome browser.

google-chrome --version

or

google-chrome-stable --version

Both commands give you same result.

Google Chrome 79.0.3945.88

You can find help on command line usage of Google Chrome browser on;

man google-chrome
man google-chrome-stable

Running Google Chrome Stable on CentOS 8

You can now launch Google Chrome browser from activities on CentOS 8.

Install Google Chrome Browser on CentOS 8

You can as well launch it from terminal by simply running the command google-chrome or google-chrome-stable.

That marks the end of the installation of Google Chrome Browser on CentOS 8. Happy browsing!!

Other CentOS 8 Tutorials

Install Wine 4 on CentOS 8

Install latest phpMyAdmin on CentOS 8

Install WordPress with Nginx and MySQL 8 on CentOS 8

Install and Configure Squid Proxy on CentOS 8

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment