In CentOS, Red Hat Enterprise Linux (RHEL), and Fedora, Google Chrome is not installed by default. Google Chrome is also not available in their default yum and dnf repositories.
Google provides an installer for Google Chrome in RPM format. You can download Google Chrome's official RPM package from Google's website and install the package using the yum tool at the terminal.
Steps to install Google Chrome on CentOS, Red Hat and Fedora:
- Open terminal from the Dock or from the Applications overview search.
- Download official RPM package for Google Chrome.
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm --2019-05-18 21:08:31-- https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm Resolving dl.google.com (dl.google.com)... 172.217.24.174, 2404:6800:4001:80f::200e Connecting to dl.google.com (dl.google.com)|172.217.24.174|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 58409570 (56M) [application/x-rpm] Saving to: ‘google-chrome-stable_current_x86_64.rpm’ google-chrome-sta 100%[===========>] 55.70M 17.6MB/s in 3.2s 2019-05-18 21:08:34 (17.6 MB/s) - ‘google-chrome-stable_current_x86_64.rpm’ saved [58409570/58409570]
- Install downloaded RPM package using yum.
$ sudo yum localinstall --assumeyes google-chrome-stable_current_x86_64.rpm [sudo] password for user: Updating Subscription Management repositories. Last metadata expiration check: 10:28:45 ago on Sat 18 May 2019 10:40:57 AM EDT. Dependencies resolved. ====================================================================== Package Arch Version Repository Size ====================================================================== Installing: google-chrome-stable x86_64 74.0.3729.157-1 @commandline 56 M Installing dependencies: libdbusmenu-gtk3 x86_64 16.04.0-12.el8 rhel-8-for-x86_64-appstream-rpms 41 k libXScrnSaver x86_64 1.2.3-1.el8 rhel-8-for-x86_64-appstream-rpms 31 k redhat-lsb-core x86_64 4.1-47.el8 rhel-8-for-x86_64-appstream-rpms 45 k libdbusmenu x86_64 16.04.0-12.el8 rhel-8-for-x86_64-appstream-rpms 140 k libindicator-gtk3 x86_64 12.10.1-14.el8 rhel-8-for-x86_64-appstream-rpms 70 k libappindicator-gtk3 x86_64 12.10.0-19.el8 rhel-8-for-x86_64-appstream-rpms 43 k redhat-lsb-submod-security x86_64 4.1-47.el8 rhel-8-for-x86_64-appstream-rpms 22 k ncurses-compat-libs x86_64 6.1-7.20180224.el8 rhel-8-for-x86_64-baseos-rpms 331 k make x86_64 1:4.2.1-9.el8 rhel-8-for-x86_64-baseos-rpms 498 k postfix x86_64 2:3.3.1-8.el8 rhel-8-for-x86_64-baseos-rpms 1.5 M m4 x86_64 1.4.18-7.el8 rhel-8-for-x86_64-baseos-rpms 223 k patch x86_64 2.7.6-8.el8 rhel-8-for-x86_64-baseos-rpms 138 k spax x86_64 1.5.3-13.el8 rhel-8-for-x86_64-baseos-rpms 217 k mailx x86_64 12.5-29.el8 rhel-8-for-x86_64-baseos-rpms 257 k liberation-serif-fonts noarch 1:2.00.3-4.el8 rhel-8-for-x86_64-baseos-rpms 607 k liberation-fonts noarch 1:2.00.3-4.el8 rhel-8-for-x86_64-baseos-rpms 19 k Transaction Summary ====================================================================== Install 17 Packages Total size: 60 M Total download size: 4.1 M Installed size: 207 M ##### snipped
The installer also adds Google Chrome repository for yum in /etc/yum.repos.d/google-chrome.repo where Google Chrome will automatically update in the future.
$ cat /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
- Launch google-chrome from Dock or terminal.
- Select configuration option and click OK.
Author: Mohd
Shakir Zakaria
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Discuss the article:
Comment anonymously. Login not required.