You are on page 1of 22

How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

nixCraft → Howto → CentOS → How To Install Google Chrome On a


RHEL/CentOS 7/8 and Fedora Linux 34 Using Yum Command

How To Install Google Chrome On a


RHEL/CentOS 7/8 and Fedora Linux
34 Using Yum Command
Author: Vivek Gite • Last updated: August 24, 2022 • 17 comments

H ow do I installed the latest version of Google Chrome version 104


on a Red Hat Enterprise Linux or CentOS Linux version 7.x and
Fedora Linux 33/34 using the yum command line option?

Tutorial details

Difficulty level Easy

Root privileges Yes

Requirements Linux terminal

Category Package Manager

OS compatibility Alma • Fedora • RHEL • Rocky • Stream

Est. reading time 3 minutes

versalGoogle
package
Chrome ismanager - ProGet
a browser that combines - Package
a minimal design with sophisticated
nager technology to make the web faster, safer, and easier. You can install it on any OPEN

Linux distro
t manages NuGet, including CentOS,
npm, Chocolatey, RHEL,
and more, and Fedora
and Docker Linux.
containers, all in one place.

1 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

ADVERTISEMENT

Coupe�

Free Browser Extension

Install

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 the uname command as follows:

$ uname -m
x86_64

Please note that this app only works on 64bit version of RHEL, CentOS and

2 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Fedora Linux.

Procedure to install Google Chrome on a


RHEL/CentOS/Fedora Linux:
Here is how to install and use the browser app in four easy steps:

1. Open the Terminal application. Grab 64bit Google Chrome installer.

2. Type the wget command to download 64 bit version:

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

3. Install app and its dependencies on a CentOS/RHEL using the dnf


command/yum command, type:

$ sudo yum install ./google-chrome-stable_current_*.rpm

4. Start Google Chrome from the CLI:

$ google-chrome &

Sample outputs from yum command:

3 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Fig.01 Installing Chrome Web Browser Using Yum Command

4 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Ad

Kitchen Renovations Auckland

Complete Renovation Group Book Now

Sample session:

5 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Fig.02: About Google Chrome Version Number

Browser App from my Fedora Linux desktop:

6 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

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 30/31/32/33/34 users


Type the following dnf command:

$ sudo dnf install google-chrome-stable_current_*.rpm

Sample outputs:

7 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

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

A note about app’s repo file


The above procedure creates /etc/yum.repos.d/google-chrome.repo file as
follows. This is useful to automatically update your browser version. You can
view this config file using the bat command or cat command:

$ 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

8 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Discover related topics

Adblock Chrome

Firefox Linux Support

Installer Google Chrome Ubuntu

Update

Update Browser

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

9 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

See also
• Download Page.

• See yum command and dnf command help pages using the man command
or help command:

$ man dnf

About the author: Vivek Gite is the founder of nixCraft, the oldest running blog about Linux

and open source. He wrote more than 7k+ posts and helped numerous readers to master IT

topics. Join the nixCraft community via RSS Feed, Email Newsletter or follow on Twitter.

� Was this helpful? Please add a comment to show your appreciation or feedback ↓ Support

the nixCraft with a PayPal donation if you use Adblock �

� To search, type & hit enter...

Related Tutorials

Install Google Chrome on CentOS 7 using yum command

Linux Install Google Chrome Browser [ Ubuntu, Suse, Debian,…

Ubuntu Linux: Install Google Chrome Browser Command

chrome://net-internals/#dns - Clear or flush DNS Cache on…

10 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

CentOS / RHEL / Fedora Linux: Use Yum Command With A Proxy…

Red hat / Fedora / CentOS Yum Repo is Listed More Than Once

Red hat / CentOS / Fedora Send Yum Package Update…

Category List of Unix and Linux commands

Ansible Check version • Fedora • FreeBSD • Linux • Ubuntu 18.04 • Ubuntu • macOS

Backup
Debian/Ubuntu • FreeBSD • RHEL
Management

Backup MySQL server • MariaDB Galera cluster • MariaDB TLS/SSL •


Database Server
MariaDB replication • MySQL Server • MySQL remote access

Download
wget
managers

Driver Management Linux Nvidia driver • lsmod

Documentation help • mandb • man • pinfo

Disk Management df • duf • ncdu • pydf

File Management cat • cp • less • mkdir • more • tree

Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu


Firewall
18.04 • Ubuntu 20.04 • Ubuntu 24.04

KVM Virtualization CentOS/RHEL 7 • CentOS/RHEL 8 • Debian 9/10/11 • Ubuntu 20.04

Linux Desktop apps Chrome • Chromium • GIMP • Skype • Spotify • VLC 3

11 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Category List of Unix and Linux commands

LXD Backups • CentOS/RHEL • Fedora • Mount dir • Ubuntu 20.04

Modern utilities bat • exa

Network Monitoring tools • Network services • RHEL static IP • Restart network

Management interface • nmcli

Network Utilities NetHogs • dig • host • ip • nmap • ping

CentOS 7 • CentOS 8 • Debian 10 • Debian 11 • Debian 8/9 • Ubuntu 18.04 •


OpenVPN
Ubuntu 20.04

Power
upower
Management

Package Manager apk • apt-get • apt • yum

Processes bg • chroot • cron • disown • fg • glances • gtop • iotop • jobs • killall • kill • pidof

Management • pstree • pwdx • time • vtop

Searching ag • egrep • grep • whereis • which

Shell builtins compgen • echo • printf

System
reboot • shutdown
Management

Terminal/ssh sshpass • tty

Text processing cut • rev

Text Editor 6 Text editors • Save and exit vim

User Environment exit • who

groups • id • lastcomm • last • lid/libuser-lid • logname • members • users •


User Information
whoami • w

User Management /etc/group • /etc/passwd • /etc/shadow • chsh

Web Server Apache • Let's Encrypt certificate • Lighttpd • Nginx Security • Nginx

12 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Category List of Unix and Linux commands

Alpine • Amazon Linux • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 •


WireGuard VPN
qrencode

17 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

reply link

� 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.

reply link

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.

reply link

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

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

reply link

Filippo • Sep 1, 2015 @ 16:59

13 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

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

reply link

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.

reply link

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.

reply link

� Vivek Gite • Sep 15, 2015 @ 14:07

Yes. It will work too.

reply link

14 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

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.

reply link

mark munneke • Feb 24, 2016 @ 15:40

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

reply link

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)

reply link

Yoommik • Aug 21, 2016 @ 15:41

This was helpful

thanks

15 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

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

reply link

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

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

reply link

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?

reply link

gc141x • Mar 21, 2021 @ 11:13

Worked great, thanks. However my Titan security key isn’t recognized by the
CentOS system when inserted into a working USB port (even though it works to
sign in on a Mac).

reply link

� Vivek Gite • Mar 21, 2021 @ 23:50

What happens when you insert Titan key. Do you see any message on
screen or in log file?

16 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

dmesg

reply link

Anonymous • Aug 23, 2022 @ 11:52

thank you so much

reply link

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment *

Name

Email

Website

17 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Post Comment

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by
the site admin.

Next FAQ: How to find out information about a LXC (Linux container) CPU &
Memory Usage

Previous FAQ: How To: Restart Apple Mac OS X Airport Networking From the
Bash Terminal

     

18 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Free
Browser
Extension
Coupe�

Install

SEARCH

� To search, type & hit enter...

19 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

Dedicated varicose vein clinic

Auckland 9AM–4�30PM

FEATURED ARTICLES

1 30 Cool Open Source Software I Discovered in 2013

2 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X

3 Top 32 Nmap Command Examples For Linux Sys/Network Admins

4 25 PHP Security Best Practices For Linux Sys Admins

5 30 Linux System Monitoring Tools Every SysAdmin Should Know

6 40 Linux Server Hardening Security Tips

20 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

7 Linux: 25 Iptables Netfilter Firewall Examples For New SysAdmins

8 Top 20 OpenSSH Server Best Security Practices

9 Top 25 Nginx Web Server Best Security Practices

10 My 10 UNIX Command Line Mistakes

SIGN UP FOR MY NEWSLETTER

21 of 22 1/27/23, 20:49
How To Install Google Chrome on a RHEL/CentOS & Fe... https://www.cyberciti.biz/faq/howto-install-google-chrom...

➔ Linux shell scripting tutorial

➔ RSS/Feed

➔ About nixCraft

     

©2002-2023 nixCraft • Privacy • ToS • Contact/Email • Corporate patron Linode &


Cloudflare

22 of 22 1/27/23, 20:49

You might also like