Google Chrome is a freeware web browser developed by Google Inc. It was released as a beta version for Microsoft Windows on September 2, 2008, and as a stable public release on December 11, 2008. This tutorial helps you to how to Install Google Chrome latest release on CentOS/RHEL 7 & Fedora 26/25/24.
Unfortunately, Google Chrome 59 and later versions switched to GTK+3, so it’s not possible to install on CentOS/RHEL 6. But the latest chrome version runs out-of-the-box on CentOS 7 and Fedora 26/25/24.
Step 1 – Enable Yum Repository
First of all, create a yum configuration file on your system.
$ sudo vim /etc/yum.repos.d/google-chrome.repo
add the following configuration to the above file and save it.
[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
Step 2 – Install or Update Google Chrome
Now, you have a choice to install the current stable release of Google Chrome or beta release on your Linux system. Let’s use the following commands to install latest Google chrome as per your needs.
Install Stable Version
$ sudo dnf install google-chrome-stable
#Fedora 26/25/24$ sudo yum install google-chrome-stable #CentOS/RHEL 7
Install Beta Version
$ sudo dnf install google-chrome-beta
#Fedora 26/25/24$ sudo yum install google-chrome-beta #CentOS/RHEL 7
Step 3 – Launch Google Chrome
Use the following command to start Google Chrome from the non-root account.
or start the process in the background
$ google-chrome &