21 November 2012

HOW TO INSTALL GOOGLE CHROME IN (CENTOS/REDHAT) 6.3, FEDORA 16/17

In this how to I will show you how to install Google Chrome Browser in Centos/Fedora/Redhat.Though you can download and install the same using rpm but the best way to install and keep your browser update is via YUM. For that you have to add the google chrome repo in your repositories. For those who dont like to play around with repo and manually installation of software I have written a little script which will setup and install the Google Chrome on your system while taking care of all the stuff itself.
For installation via bash script, download your copy from here.
and installing yourself follow these steps..

STEP 1 : ENABLE GOOGLE YUM  REPOSITORY --

Create a file google-chrome.repo inside the /etc/yum.repos.d :
for 32 bit --->

[user@linux:~]$vi /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

for 64 bit ---> 

[user@linux:~]$vi /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - 64-bit
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

Note: Both 32-bit and 64-bit repos can be placed in the same file. 

STEP 2 : INSTALL GOOGLE CHROME USING YUM AS ROOT USER --


 
## Install Google Chrome Stable version ##
[user@linux:~]$yum install google-chrome-stable
 
## Install Google Chrome Beta version ##
[user@linux:~]$yum install google-chrome-beta
 
## Install Google Chrome Unstable version ##
[user@linux:~]$yum install google-chrome-unstable

No comments:

Post a Comment