Install Google Chrome on Fedora 36/35, CentOS Stream 9/8, Red Hat (RHEL) 9/8, Rocky Linux 8.5 - Comment Page: 12
This guide explains howto install Google Chrome Web browser on Fedora 36/35/34/33/32 and CentOS Stream / Red Hat (RHEL) 9/8.5 / Rocky Linux 8.5. Best way to install and keep up-to-date with Google Chrome browser is use Google's own YUM/DNF repository.
Check video guide, howto install Google Chrome on Fedora 36/35/34/33:
Watch More Videos and Subscribe to
if-not-true-then-false.com Youtube Channel
Check video guide, howto install Google Chrome on Red Hat (RHEL) 9.0/8.5:
Check video guide, howto install Google Chrome on CentOS Stream 9/8:
Watch More Videos and Subscribe to
if-not-true-then-false.com Youtube Channel
Check video guide, howto install Google Chrome on Rocky Linux...
Worked well for me on Fedora 25 at China Guangzhou. Thank you!
Trying to install google-chrome-unstable on Operating System: CentOS Linux 7 (Core) and I am getting the following error (any help would be appericated!):
[[email protected] ~]# yum install google-chrome-unstable
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 74.50.120.123
* cpanel-addons-production-feed: 74.50.120.123
* base: mirror.jax.hugeserver.com
* epel: mirror.nodesdirect.com
* extras: centos.mirror.lstn.net
* ius: archive.linux.duke.edu
* updates: centos.aol.com
Resolving Dependencies
–> Running transaction check
—> Package google-chrome-unstable.x86_64 0:61.0.3163.13-1 will be installed
–> Processing Dependency: libc.so.6(GLIBC_2.18)(64bit) for package: google-chrome-unstable-61.0.3163.13-1.x86_64
–> Finished Dependency Resolution
Error: Package: google-chrome-unstable-61.0.3163.13-1.x86_64 (google-chrome)
Requires: libc.so.6(GLIBC_2.18)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Hi Anthony,
This is true, I just tested google-chrome-unstable on CentOS 7 and yes it won’t install (google-chrome-stable and google-chrome-beta works normally). Hopefully this doesn’t mean that Google Chrome 61 and above (stable and beta releases), won’t work anymore on CentOS 7.
Installing Google Chrome in Fedora 26 from Google website works just fine with Wayland. Installing it from command line does not work with Wayland.
Hi JW,
It’s same file!
Downloaded from Google’s rpm repo:
Downloaded from Google’s website:
So doesn’t matter where you download stable version.
I just tested this with two clean Fedora 26 Workstation VM. Installed chrome stable from Google’s website and another from Google’s repo and both failed with Wayland.
If you are getting a message when you try to install Chrome like this:
Failed to synchronize cache for repo ‘google-chrome’, disabling.
Simply get rid of the backslashes in front of $basearch from the bit above that you put in the /etc/yum.repos.d/google-chrome.repo file.
This is what i’m getting upon trying step 3.3…..Fedora 27
Failed to synchronize cache for repo ‘google-chrome’, disabling.
Last metadata expiration check: 0:43:06 ago on Sat 16 Dec 2017 05:24:51 PM IST.
No match for argument: google-chrome-stable
Error: Unable to find a match
Please help
Hi kankit,
I just tested this and google chrome repo is working normally. Run following command first:
Then try installation again.
Does not work for fedora 27 Security Labs spin.
key can’t be checked
Hello ileana,
I just updated this guide. Try following repo file instaead.
Tested this and should work. Now it’s ok use also hard coded x86_64 parts, because only 64-bit version is available.
[chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
use this repo ^ for fedora 27 if the other doesn’t work
Hi nukerock terra,
Just checked Google’s own RPM and they use following repo (for Fedora, CentOS, RHEL):
it worked for me by adding this repo
cat < /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64/
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
enabled=1
gpgcheck=1
EOF
then
# yum install google-chrome-stable
Hello dante,
Have to ask, how this is different than what is described on step 2.?
Only difference is gpgkey url, but both https://dl-ssl.google.com/linux/linux_signing_key.pub and https://dl.google.com/linux/linux_signing_key.pub loads exactly same file:
So I don’t understand what is the problem?
Tried installing Google Chrome 66 (stable, as of 2018-04-24)
“`
$ sudo dnf install google-chrome-stable
Last metadata expiration check: 0:41:40 ago on Tue 24 Apr 2018 01:06:51 PM PDT.
Error:
Problem: conflicting requests
– nothing provides libappindicator3.so.1()(64bit) needed by google-chrome-stable-66.0.3359.117-1.x86_64
“`
– does anyone know how to manually select an older version of google-chrome-stable to download/install? (e.g. Chrome 65, or Chrome 64)?
Hello Mike,
Try first run (root user):
Thanks JR, will try it out and report back.
JR- Looks like no joy, still. Thanks anyways, for the suggestion.
Hi Mike,
Could you post output of following command:
Hi JR,
I get the following output:
“`
$ dnf whatprovides */libappindicator3.so.1
Last metadata expiration check: 0:00:05 ago on Fri 27 Apr 2018 11:15:08 AM PDT.
Error: No Matches found
“`
Hi JR,
Solved the problem- it turns out that I had inadvertently disabled the main `fedora` repository a while back while troubleshooting a different package update problem. Re-enabling the `fedora` repo allowed me to install Google Chrome properly.
Thanks for the help!
Excellent, nice to hear that you got it working!
Can’t find google-chrome-stable
Set chrome repo, but package not found:
yum search google-chrome
Loaded plugins: fastestmirror
=========================================================================================== N/S matched: google-chrome ============================================================================================
google-chrome-beta.x86_64 : Google Chrome (beta)
google-chrome-unstable.x86_64 : Google Chrome (unstable)
Name and summary matches only, use “search all” for everything.
only beta and unstable present
Hi Oleg,
Maybe you should just run ‘dnf clean all’ and test again. It should be there:
Rather than encourage people to change to root, please use sudo. The command to create the repo file is:
$ cat < /dev/null
> [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
> EOF
Grrr, damn cut-and-paste, should be
$ cat < /dev/null
> [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
> EOF
Nope, it’s the commenting platform which kills less thans :-(
Hi vk5tu,
I’m not totally sure about your command, but have to say that sudo is not more secure than root user, of course you can limit sudo commands, but if you use ALL setting on sudoers file, then you can run any command using sudo. I can’t assume that this guide reader even have sudo installed or configured. I personally prefer changing root if I run multiple commands. Actually sudo is even more dangerous, because “hacker” can gain root access just hacking user account, if you don’t have sudo installed and use even different passwords for user and root account, then hacker have to hack two passwords. Unfortunately Ubuntu users have many times sudo obsession, before Ubuntu sudo was very rarely used.
Sorry if this has been said already…I’m on a phone:
In F28 all you have to do is install the package ‘fedora-workstation-repositories’. Then edit /etc/yum.repos.d/google-chrome.repo.
Set ‘enable=’ to 1
Hi Elijah,
I don’t know which one is easier, but both works on Fedora 28.
Excellent guide! However, on Fedora 28, the google-chrome repo seems already to be present, but not enabled. So instead of overwriting it, one could just edit the file and change `enabled=0` to 1.
Hi Dmitri,
You have to have fedora-workstation-repositories package installed, then repo file exists and then you can enable it modifying repo file directly or using dnf config-manager.
How do you get pass this error:
ERROR with transaction check vs depsolve:
/usr/bin/lsb_release is needed by google-chrome-unstable-69.0.3493.3-1.x86_64
lsb libraries are now deprecated and can’t be installed no more:
$ sudo yum install redhat-lsb-core
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
–> Running transaction check
—> Package redhat-lsb-core.x86_64 0:4.1-27.el7 will be installed
Removing redhat-lsb-core.x86_64 0:4.1-27.el7 – u due to obsoletes from installed stub-redhat-lsb-core-only-for-ceph-2015.1-1.atomic.el7.noarch
–> Restarting Dependency Resolution with new changes.
–> Running transaction check
—> Package redhat-lsb-core.x86_64 0:4.1-27.el7 will be installed
–> Finished Dependency Resolution
Any suggestions?
Thanks in advance.
AA
hi,
Or you could just:
$ dnf install -y fedora-workstation-repositories
$ dnf config-manager –set-enabled google-chrome
$ dnf install -y google-chrome-stable
Hi lejeczek,
Yes works on Fedora, but this won’t work on CentOS/RHEL/SL/Oracle Linux at all.