Google Chrome installation RHEL 8

Latest response

I have downloaded and trying to install Google Chrome in RHEL 8. It is throughing below error. Tried installing google gpg key, and rpm -vv -- import gpg_file_google but that is not working [same error]. How to overcome this error? As work arround I have unpacked GoogleChrome rpm file to my home folder and running it from cli {this is temp solution only}

(base) [anowarsayed3@sayed-redhat Downloads]$ sudo yum localinstall google-chrome-stable_current_x86_64.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 0:28:30 ago on Tuesday 10 September 2019 10:51:16 PM IST.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                  Arch                                       Version                                                Repository                                        Size
===================================================================================================================================================================================================================
Installing:
 google-chrome-stable                                     x86_64                                     76.0.3809.132-1                                        @commandline                                      57 M

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total size: 57 M
Installed size: 201 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  package google-chrome-stable-76.0.3809.132-1.x86_64 does not verify: no digest

Error Summary
-------------

(base) [anowarsayed3@sayed-redhat Downloads]$ 

Responses

Hi Sayed,

Install Google Chrome in another way ... I recommend to enable the EPEL and RPM Fusion repositories beforehand.
Create a new file in /etc/yum.repos.d - sudo vi /etc/yum.repos.d/google-chrome.repo and add these lines :

[google-chrome]
name=google-chrome
baseurl=https://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub  

Then update the software sources and install Google Chrome :

sudo dnf upgrade
sudo dnf install google-chrome-stable

It might be possible that needed dependencies provided by EPEL or RPM Fusion are not available though.
Both repositories are currently not fully populated, because they are still considered under construction :)

Regards,
Christian

Thank you. It worked.

You're welcome, Sayed ! :)

When I am trying to update Google Chrome in RHEL 8, it is encountering following error:

(base) [anowarsayed3@sayed-redhat ~]$ sudo dnf update
[sudo] password for anowarsayed3: 
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                     2.7 kB/s | 4.9 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                     307 kB/s | 1.5 MB     00:05    
google-chrome                                                                                                                                                                      1.2 kB/s | 1.3 kB     00:01    
google-chrome                                                                                                                                                                      542  B/s | 3.4 kB     00:06    
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)                                                                                                                           3.0 kB/s | 4.5 kB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                           2.6 kB/s | 4.5 kB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                           986 kB/s | 9.2 MB     00:09    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                              2.5 kB/s | 4.0 kB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                              1.6 MB/s | 7.3 MB     00:04    
RPM Fusion for EL 8 - Free - Updates                                                                                                                                               952  B/s | 3.0 kB     00:03    
RPM Fusion for EL 8 - Free - Updates                                                                                                                                                14 kB/s |  74 kB     00:05    
RPM Fusion for EL 8 - Nonfree - Updates                                                                                                                                            947  B/s | 3.0 kB     00:03    
RPM Fusion for EL 8 - Nonfree - Updates                                                                                                                                            1.6 kB/s |  15 kB     00:09    
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                              Arch                                   Version                                           Repository                                                     Size
===================================================================================================================================================================================================================
Upgrading:
 google-chrome-stable                                 x86_64                                 77.0.3865.90-1                                    google-chrome                                                  59 M
 patch                                                x86_64                                 2.7.6-9.el8_0                                     rhel-8-for-x86_64-baseos-rpms                                 138 k

Transaction Summary
===================================================================================================================================================================================================================
Upgrade  2 Packages

Total download size: 59 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): patch-2.7.6-9.el8_0.x86_64.rpm                                                                                                                                               69 kB/s | 138 kB     00:01    
(2/2): google-chrome-stable-77.0.3865.90-1.x86_64.rpm                                                                                                                              6.9 MB/s |  59 MB     00:08    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              6.9 MB/s |  59 MB     00:08     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  package google-chrome-stable-77.0.3865.90-1.x86_64 does not verify: no digest

Error Summary
-------------

Hi Sayed,

No idea what went wrong there ... as a workaround I suggest to remove and reinstall the package - hope it works. :)

sudo dnf remove google-chrome-stable
sudo dnf install google-chrome-stable

Regards,
Christian

I removed Google chrome. Can't install anymore. Tried removing the repo. Not working. I guess I need to wait till Chromium available in EPEL 8.

Well Sayed, I think those kind of problems may disappear with the first point release of RHEL 8 ... :)

Regards,
Christian

Hi Sayed,

To remove the Chrome repo, execute : sudo rm /etc/yum.repos.d/google-chrome.repo
Then update the sources - afterwards you can try to repeat the initial installation. :) - execute :

sudo dnf clean all
sudo rm -r /var/cache/dnf
sudo dnf upgrade

Regards,
Christian

Hi Sayed,

The cause may be that the system is in FIPS mode. If /proc/cmdline contains the option "... fips=1 ..." then that is the problem.

(The obvious solution would be to disable FIPS mode. That's normally a bad idea. On the other hand it does fix other problems with scripts that use out of date security features like md5sum. You could think about it if your security needs are quite low.)

A less drastic solution is to use the rpm --nofiledigest option just for Chrome. Start by making a list of the prerequisite packages that dnf wants to install for google-chrome-stable and do a separate dnf install for them, but without google-chrome-stable. Then do this:

cd /tmp dnf download google-chrome-stable rpm --nofiledigest -Uvh google-chrome-stable-nn.n.nnnn.nn-n.x86_64.rpm rm google-chrome-stable-nn.n.nnnn.nn-n.x86_64.rpm

If Google updates Chrome and dnf refuses to update it with the same "...does not verify: no digest" error, the same commands should update to the new version.

Best regards, - Ira

hello sir i want to install google chrome but showing this error::

[root@localhost ~]# sudo yum install google-chrome-stable Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Last metadata expiration check: 0:00:13 ago on Wednesday 06 May 2020 06:22:08 AM EDT. Error: Problem: conflicting requests - nothing provides liberation-fonts needed by google-chrome-stable-81.0.4044.138-1.x86_64 - nothing provides libXss.so.1()(64bit) needed by google-chrome-stable-81.0.4044.138-1.x86_64 - nothing provides libappindicator3.so.1()(64bit) needed by google-chrome-stable-81.0.4044.138-1.x86_64 - nothing provides libvulkan.so.1()(64bit) needed by google-chrome-stable-81.0.4044.138-1.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) how to solve this error

how to solve this error