Wednesday, 4 July 2012

Install Google Chrome on CentOS / RHEL 5

Install Google Chrome on CentOS / RHEL 5


Here is what you need to do :


# vim /etc/yum.repos.d/google.repo


If you are running a 32-bit version of CentOS, add the following to the open file:

[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

If you are running a 64-bit version of CentOS, add the following to the open file:

[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Then simply install Google Chrome via YUM:


#yum install google-chrome-stable



##############################################
1. Download the Source package
You can downlaod the source package for Google chrome(Chromium) from the following link.


http://www.cs.bham.ac.uk/~cxs548/chrome.tar.gz
 
2. Download libXcomposite rpm Package and Install
You can download libXcomposite from the link.
#wget ftp://ftp.muug.mb.ca/mirror/centos/5/os/i386/CentOS/libXcomposite-0.3-5.1.i386.rpm

Note: For other versions of CentOS and RHEL refer the following link.
ftp://ftp.muug.mb.ca/mirror/centos/5/
 
  Install the libXcomposite file
#rpm -ivh libXcomposite-0.3-5.1.i386.rpm
 
3. Extract Chrome Package and Run
Now copy the chrome package to /opt and extract it.
#tar -zxvf chrome.tar.gz
 
Now just execute the following command to run Google Chrome
#./opt/chrome/chrome-wrapper
or
Create a custom launcher in desktop pointing to the above mentioned script
Right click on desktop> Create launcher> Application> Command> Browse> /opt/chrome/chrome-wrapper> OK
 
 

6 comments:

  1. July 10, 2012:

    Where can I download "google-chrome-stable" file to use with a command # yum install google-chrome-stable?

    Will this procedure work with centOS release 5.5 or 5.6?

    Thanks

    ReplyDelete
  2. Aparentely, no. I have tested, google-chrome-stable requires glibc 2.11, CentOS 5 only provides 2.5 .

    ReplyDelete
  3. This worked for me on RHEL 5.7 server 64 bit. Thanks much

    ReplyDelete
  4. Do you have a latest version of chrome (source code)

    I use Chrome browser : 14.0.785.0
    OS : CentOS 5.8 - 32bit

    ReplyDelete
  5. Problem: Google chrome crashes after sometime of opening Hack Facebook Account 2014

    ReplyDelete
  6. all of the links are dead, wget cant find them

    ReplyDelete