Google Chrome is a high-performance web browser developed by Google. It is widely used for its speed and compatibility with modern web technologies. On CentOS, Red Hat Enterprise Linux (RHEL), and Fedora, it is not included in the default repositories and must be installed manually. These distributions use either YUM or DNF as package managers, with DNF being the more common tool for newer releases.

Google Chrome is provided as an RPM package, which can be installed using DNF. Once installed, the system will be configured to receive automatic updates directly from Google's own repository. This ensures that your Chrome installation remains up-to-date with the latest security patches and features.

Careful handling of package installation is important, as is the verification of the repository source and ensuring compatibility with the system architecture. Following the correct installation process allows Chrome to be integrated into CentOS, RHEL, or Fedora environments without issues.

Step-by-step video guide:

Steps to install Google Chrome on CentOS, Red Hat and Fedora:

  1. Open terminal from the Dock or from the Applications overview search.
  2. Download the Google Chrome RPM package from Google's official website.
    $ 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]

    The file will be saved locally as google-chrome-stable_current_x86_64.rpm.

  3. Use DNF to install the downloaded RPM package.
    $ sudo dnf 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
  4. Launch google-chrome from Dock or terminal.
  5. Confirm the installation and configuration settings when prompted.
Discuss the article:

Comment anonymously. Login not required.