How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated

How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated 

How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution - 2020 Updated

This is an updated tutorial to install Google Chrome on Rhel 7 /Centos. Many of us facing dependencies issues in installing Google Chrome.

Google Chrome is a web browser from Google Chrome available free to use. Chrome is the most popular browser now.

In This Tutorial We Will learn:

  • How to install Google Chrome in RHEL7 /CENTOS 7
  • Resolve dependencies like glibc-common, etc
  • resolve the issue of ” –skip-broken to work around the problem”, “rpm -Va –nofiles –nodigest”
  • Create a local repo with packages 

Our Environment :

RHEL 7.7 but this can work any version of RHEL / CENTOS 7. Rhel 7 yum repository configured.
Rhel 7 /Centos 7

1- Configure Google Chrome Repository 

Create a file name googlechrome.repo in yum.repos.d directory. by the following command :
# vi /etc/yum.repos.d/googlechrome.repo
Do below line entry in the file and save it by :wq! 
[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
Google-chrome.repo
Now we have 2 Repository 
4 %2Byou%2Bhave%2B2%2Brepo Install Google Chrome 83 On Rhel 7

We will face issue of dependencies if we install google chrome from yum. So we will create a new repo with dependencies. 

2- Configure dependencies Repository :

  • Create a directory extrarepo 
# mkdir /extrarepo
  • Download below packages from https://pkgs.org/ or RedHat Package download page if you have a subscription. We have made simple for you , you can download from the below link also.
Chrome Dependency Package   tar file use 7zip on windows or tar -xzvf filename in Linux to extract 
glibc-2.30-alt1.x86_64.rpm
glibc-core-2.30-alt1.x86_64.rpm
libwayland-client-1.15.0-1.el7.x86_64.rpm
libX11-1.6.7-2.el7.x86_64.rpm
libX11-common-1.6.7-2.el7.noarch.rpm
libXau-1.0.8-2.1.el7.x86_64.rpm
libxcb-1.13-1.el7.x86_64.rpm
libXext-1.3.3-3.el7.x86_64.rpm
vulkan-1.1.97.0-1.el7.x86_64.rpm
vulkan-devel-1.1.97.0-1.el7.x86_64.rpm
vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm
9 %2Bpackage%2Blist Install Google Chrome 83 On Rhel 7
  • Use any tool, like WinSCP , Filezilla or you can directly download using utility wget to server. Here we have used WinSCP.
8 %2Bdownload%2Brequired%2Bpackage Install Google Chrome 83 On Rhel 7
  • Install createrepo and run command createrepo /extrarepo . This will create repodata for packages.
# yum install -y createrepo 
# createrepo /extrarepo/
    10%2B %2Brun%2Bcreaterepo%2Bcommand Install Google Chrome 83 On Rhel 7

  • Now create another file in /etc/yum,repos.d/Requiredpkg.repo
# vi /etc/yum.repos.d/Requiredpkg.repo
  • Do below lines in file and save from :wq!
[Required-Pkg]
name=Google Chrome required Pkg
baseurl=file:///extrarepo
enable=1
gpgcheck=0
create%2Bgoogle chrome.repo Install Google Chrome 83 On Rhel 7
Now we have 3 repositories and we are ready to install google chrome.
13%2B %2Bwe%2Bhave%2B3%2Brepo%2Bcheck Install Google Chrome 83 On Rhel 7

3- Install google chrome :

# yum install google-chrome-stable -y 
This will install google chrome without any error

15%2B %2Bchrome%2Binstalled Install Google Chrome 83 On Rhel 7

.

Check google chrome version by below command :
google-chrome –version

16%2B %2Bchrome%2Bversion Install Google Chrome 83 On Rhel 7
Start google chrome by command :
# google-chrome &
Now at this point you have installed google chrome. Let us know if you face any issues. You can Dm also on our Insta page or use #explinux to ask questions.

1 thought on “How to Install Google Chrome 83 On Rhel 7 / Centos 7 And Dependency Resolution – 2021 Updated”

Leave a Comment

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