How to install Google Chrome on CentOS/Red hat (RHEL) 7 using Yum

Leave a Comment
Google chrome is a safe, faster and freeware web browser developed by Google Inc.

Linux distributions comes with pre installed Mozilla Firefox browser, in case you want to install Google Chrome on Linux, same can be done using yum package management tool

Below are the steps to install Google chrome in RHEL/CentOS 7





1. Enable Google Yum repository, create file google-chrome.repo

[root@localhost etc]# cd /etc/yum.repos.d/

[root@localhost yum.repos.d]# touch google-chrome.repo


2. Add below lines of code to google-chrome.repo

[root@localhost yum.repos.d]# vim google-chrome.repo

in the google-chrome.repo  repository, add below

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

3. Check latest available chrome 

[root@localhost /]# yum info google-chrome-stable


Available Packages
Name        : google-chrome-stable
Arch        : x86_64
Version     : 46.0.2490.86
Release     : 1
Size        : 45 M
Repo        : google-chrome/x86_64
Summary     : Google Chrome
URL         : https://chrome.google.com/
License     : Multiple, see https://chrome.google.com/
Description : The web browser from Google
            : 
            : Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

[root@localhost /]# 




4. ## Install Google Chrome Stable version ##
yum install google-chrome-stable






0 comments:

Post a Comment