How To Install Google Chrome 78 On a RHEL/CentOS 7 and Fedora Linux 31 Using Yum Command

How do I installed the latest version of Google Chrome v 78 on a Red Hat Enterprise Linux or CentOS Linux version 7.x and Fedora Linux v28/29/30/31 using the yum command line option?

[donotprint]
Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements None
Time 2m
[/donotprint]Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. You can install it on any Linux distro including CentOS, RHEL, and Fedora Linux.

ADVERTISEMENTS

Find out if your Linux distro is a 32bit or 64 bit

Type the following command Linux kernel and distro is running in 32bit or 64bit mode:

## type at bash shell prompt ##
echo "You are using $(getconf LONG_BIT) bit Linux distro."

Outputs:

You are using 64 bit Linux distro.

OR try:
$ uname -m
x86_64

Procedure to install Google Chrome 78 on a RHEL/CentOS/Fedora Linux:

Here is how to install and use the Google Chrome 78 in five easy steps:

  1. Open the Terminal application. Grab 64bit Google Chrome installer.
  2. Type the following command to download 64 bit version of Google Chrome:
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
  3. Install Google Chrome and its dependencies on a CentOS/RHEL, type:
    sudo yum install ./google-chrome-stable_current_*.rpm
  4. Start Google Chrome from the CLI:
    google-chrome &

Sample outputs from yum command:

Fig.01 Installing Chrome Web Browser Using Yum Command

Fig.01 Installing Chrome Web Browser Using Yum Command

Sample session:
Fig.02: About Google Chrome Version Number

Fig.02: About Google Chrome Version Number

Google Chrome 78 running on my Fedora Linux desktop:
Google Chrome 78 in action on a Fedora Linux 31

Google Chrome 78 in action on a Fedora Linux 31

Please note that these instructions always installs the latest version of Google Chrome on a CentOS/RHEL/Fedora Linux.

A note about Fedora Linux 28/29/30/31 users

Type the following dnf command:
$ sudo dnf install google-chrome-stable_current_*.rpm
Sample outputs:

Fig.03: Installing Google Chrome 78 on a Fedora using dnf command

Fig.03: Installing Google Chrome 78 on a Fedora using dnf command

A note about Google chrome repo file

The above procedure creates /etc/yum.repos.d/google-chrome.repo file as follows. This is useful to automatically update your Google Chrome version:
$ cat /etc/yum.repos.d/google-chrome.repo
Sample outputs:

[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

How do I upgrade Google Chrome from an older version?

You can simply update it by typing the following yum command:
$ sudo yum update google-chrome-stable
OR use the following dnf command to update it on a Fedora Linux:
$ sudo dnf update google-chrome-stable

See also

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
14 comments… add one
  • Denver Aug 31, 2015 @ 3:24

    just curious why we need to install both 32 bit and 64 bit versions of chrome

    • 🐧 Vivek Gite Aug 31, 2015 @ 5:15

      You don’t need both version. If you are using 32bit Linux distro, download 32 bit version. if you are using 64bit Linux distro, download 64bit chrome.

  • Kodiak Aug 31, 2015 @ 12:00

    Note that ‘dnf’ deprecates yum in Fedora 22 so your articles should now reflect that when marked as for Fedora.

    • 🐧 Vivek Gite Aug 31, 2015 @ 12:39

      The faq has been updated to include dnf command. I appreciate the feedback.

  • Filippo Sep 1, 2015 @ 16:59

    Or, probably even better, you can just use JuNest to build a small and isolated sandbox and install chrome in it: https://github.com/fsquillace/junest

  • MartinThurn Sep 2, 2015 @ 19:18

    These instructions do NOT install version 44. They install the “latest” version which is now 45 and IT IS COMPLETELY BROKEN.

  • Asif Ali Rizvan Sep 15, 2015 @ 13:21

    instead of
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm

    Yum downloads and installs, wget is an additional step, unless we want to keep the installer rpm.
    yum install https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm
    will also work.

  • John Reidy Nov 5, 2015 @ 22:49

    Chrome, sensibly doesn’t want to run as root on a desktop.
    This is not a problem as it is something you should not do, however there is no notiice to that effect.

  • mark munneke Feb 24, 2016 @ 15:40

    Thanks Vivek Gite worked like a charm first time 3 commands up and running an successfully!

  • umesh gupta Aug 1, 2016 @ 8:09

    when i am going to open chrome console that time getting some error below the messages please get write way to resolve the issue.
    [root@virt-node ~]# google-chrome &
    [3] 15253
    [root@virt-node ~]# [1:1:0731/133610:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)

  • Yoommik Aug 21, 2016 @ 15:41

    This was helpful

    thanks

    i’m new to centos7. is it true google no longer supports os7?

    • 🐧 Vivek Gite Aug 21, 2016 @ 19:50

      You can install it on CentOS 7 and it is well supported.

  • ssugat Nov 9, 2016 @ 16:49

    I followed your steps and installed chrome but when I run ‘google-chrome &’ I get following error message.

    [22043:22043:1109/114453:ERROR:browser_main_loop.cc(260)] Gtk: cannot open display:

    What might be the problem?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.