[donotprint]
Tutorial details | |
---|---|
Difficulty | Easy (rss) |
Root privileges | Yes |
Requirements | None |
Time | 2m |
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:
- Open the Terminal application. Grab 64bit Google Chrome installer.
- 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 - Install Google Chrome and its dependencies on a CentOS/RHEL, type:
sudo yum install ./google-chrome-stable_current_*.rpm - Start Google Chrome from the CLI:
google-chrome &
Sample outputs from yum command:
Fig.01 Installing Chrome Web Browser Using Yum Command
Fig.02: About Google Chrome Version Number
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
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
- Google Chrome Download Page.
- See yum command and dnf command
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 14 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
just curious why we need to install both 32 bit and 64 bit versions of chrome
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.
Note that ‘dnf’ deprecates yum in Fedora 22 so your articles should now reflect that when marked as for Fedora.
The faq has been updated to include dnf command. I appreciate the feedback.
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
These instructions do NOT install version 44. They install the “latest” version which is now 45 and IT IS COMPLETELY BROKEN.
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.
Yes. It will work too.
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.
Thanks Vivek Gite worked like a charm first time 3 commands up and running an successfully!
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)
This was helpful
thanks
i’m new to centos7. is it true google no longer supports os7?
You can install it on CentOS 7 and it is well supported.
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?