How To Install Google Chrome on CentOS 8/RHEL 8 Linux

This post will guide you how to install the latest version of Google Chrome Web Browser on your CentOS 8 or RHEL 8 Linux system through its official chrome repository. How do I install Google Chrome browser through installing RPM package under CentOS Linux 8 using yum or dnf command.

The default browser is the Firefox Web browser on the Linux operating system. and if you would like to use Google Chrome Browser on your CentOS 7 or RHEL 8 Linux system, and you can refer to the following two methods.

install google chrome in centos4

Installing Google Chrome Via Its Official Repo on CentOS 8


As Google Chrome package is not available on the default CentOS or RHEL repository. And you can add its official repository into your CentOS system by the following steps:

#1 creating a repofile named chrome.repo under /etc/yum.repos.d/ directory using vim text editor, type:

$ sudo vim /etc/yum.repos.d/chrome.repo

#2 adding the following lines into the file.

[google-chrome]
name=google-chrome-$basearch
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

#3 save and close the file. and running the following commands to install chrome.

$ sudo dnf update
$ sudo dnf install google-chrome-stable/$basearch

Outputs:

[devops@mydevops ~]$ sudo dnf update
Last metadata expiration check: 0:09:04 ago on Sun 06 Oct 2019 06:06:33 AM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[devops@mydevops ~]$ sudo dnf install google-chrome-stable
Last metadata expiration check: 0:09:23 ago on Sun 06 Oct 2019 06:06:33 AM EDT.
Dependencies resolved.
======================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================
Installing:
google-chrome-stable x86_64 77.0.3865.90-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
liberation-serif-fonts noarch 1:2.00.3-4.el8 BaseOS 607 k

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

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

Installing Google Chrome Via Its Official RPM Package


You can also download the latest RPM version of the Google Chrome browser with the following wget command, and then install it. type:

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

Outputs:

[devops@mydevops ~]$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
--2019-10-06 06:16:27-- https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Resolving dl.google.com (dl.google.com)... 203.208.39.228, 203.208.39.233, 203.208.39.238, ...
Connecting to dl.google.com (dl.google.com)|203.208.39.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62236146 (59M) [application/x-rpm]
Saving to: ‘google-chrome-stable_current_x86_64.rpm’

google-chrome-stable_current_x86_64.rpm 100%[===================================================================================>] 59.35M 6.51MB/s in 14s

2019-10-06 06:16:42 (4.10 MB/s) - ‘google-chrome-stable_current_x86_64.rpm’ saved [62236146/62236146]

Once the RPM Package of Google Chrome is downloaded successfully, and you can now install it with the follwing dnf localinstall command, type:

$ sudo dnf localinstall google-chrome-stable_current_x86_64.rpm

Outputs:

[devops@mydevops ~]$ sudo dnf localinstall google-chrome-stable_current_x86_64.rpm
Last metadata expiration check: 0:12:21 ago on Sun 06 Oct 2019 06:06:33 AM EDT.
Dependencies resolved.
======================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================
Installing:
google-chrome-stable x86_64 77.0.3865.90-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: 211 M
Is this ok [y/N]:y
......
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libdbusmenu-16.04.0-12.el8.x86_64 1/8
Installing : libdbusmenu-gtk3-16.04.0-12.el8.x86_64 2/8
Installing : liberation-serif-fonts-1:2.00.3-4.el8.noarch 3/8
Installing : liberation-fonts-1:2.00.3-4.el8.noarch 4/8
Installing : libindicator-gtk3-12.10.1-14.el8.x86_64 5/8
Installing : libappindicator-gtk3-12.10.0-19.el8.x86_64 6/8
Installing : libXScrnSaver-1.2.3-1.el8.x86_64 7/8
Running scriptlet: google-chrome-stable-77.0.3865.90-1.x86_64 8/8
Installing : google-chrome-stable-77.0.3865.90-1.x86_64 8/8
Running scriptlet: google-chrome-stable-77.0.3865.90-1.x86_64 8/8
Verifying : libXScrnSaver-1.2.3-1.el8.x86_64 1/8
Verifying : libappindicator-gtk3-12.10.0-19.el8.x86_64 2/8
Verifying : libdbusmenu-16.04.0-12.el8.x86_64 3/8
Verifying : libdbusmenu-gtk3-16.04.0-12.el8.x86_64 4/8
Verifying : libindicator-gtk3-12.10.1-14.el8.x86_64 5/8
Verifying : liberation-fonts-1:2.00.3-4.el8.noarch 6/8
Verifying : liberation-serif-fonts-1:2.00.3-4.el8.noarch 7/8
Verifying : google-chrome-stable-77.0.3865.90-1.x86_64 8/8

Installed:
google-chrome-stable-77.0.3865.90-1.x86_64 libXScrnSaver-1.2.3-1.el8.x86_64 libappindicator-gtk3-12.10.0-19.el8.x86_64
libdbusmenu-16.04.0-12.el8.x86_64 libdbusmenu-gtk3-16.04.0-12.el8.x86_64 libindicator-gtk3-12.10.1-14.el8.x86_64
liberation-fonts-1:2.00.3-4.el8.noarch liberation-serif-fonts-1:2.00.3-4.el8.noarch

Complete!

Note: you need to press “y” key on your keyboard to accept Google Chrome installation on your CentOS 8 or RHEL 8 Linux system.

Launching Google Chrome


Once Google Chrome is installed on your CentOS 8 system, and you can type the following command to start it at your shell prompt, type:

$ google-chrome

Or you can also launch google chrome web browser from Your CentOS 8 GUI using Gnome activities menu to search for “chrome” keyword and launch it.

install google chrome in centos8

install google chrome in centos8 2

install google chrome in centos3

Updating Google Chrome


If you need to update your current Google chrome web browser on your CentOS 8 or RHEL 8 Linux, and you can run the following command:

$ sudo dnf update google-chrome-stable

Outputs:

[devops@mydevops ~]$ sudo dnf update google-chrome-stable
Repository google-chrome is listed more than once in the configuration
Last metadata expiration check: 0:34:05 ago on Sun 06 Oct 2019 06:06:33 AM EDT.
Dependencies resolved.
Nothing to do.
Complete!

Conclusion


You should know that how to install/update Google Chrome Web Browserusing dnf/yum command in your CentOS 8 or RHEL 8 Linux system.

 

You might also like:

Sidebar



back to top