Chrome 31 在RHEL/CentOS 6 and Fedora 19/15下的安装

 


In this tutorial I will show you how we have practically installedGoogle Chrome 31 browser in one of our CentOS 6.4 server using Google’s own repository with Yum tool. By using repository you will keep your Chrome browser up-to-date. However, it should also work on RHEL 6.5/6.4/6.3/6.2/6.1/6.0CentOS 6.5/6.4/6.3/6.2/6.1/6.0 and Fedora 19,18,17,16,15 versions as well.

Step 1: Enable Google YUM repository

Create a file called /etc/yum.repos.d/google-chrome.repo and add the following lines of code to it.

[google-chrome]
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

Step 2: Installing Chrome Web Browser

Download and Install Chrome Web Browser with yum command. It will automatically install all dependencies.

# yum install google-chrome-stable

Update : Sadly, the Google Chrome browser no longer supports the most famous commercial distribution Red Hat and its free clones such as CentOS and Scientific Linux.

Yes, they’ve discontinued support for RHEL 6.X version as of Google Chrome and on other side, latest Firefox and Opera browsers run successfully on the same platforms.

Luckily, there is a script developed by Richard Lloyd, that automatically download and install latest Google Chrome browser by picking libraries from a more recent released distro and put those libraries in (/opt/google/chrome/lib) directory and then you can able to run Google Chrome on CentOS 6.X version.

# wget http://chrome.richardlloyd.org.uk/install_chrome.sh
# chmod u+x install_chrome.sh
# ./install_chrome.sh
Sample Output
Google Chrome Installer 2.00 on the i686 platform
(C) Richard K. Lloyd 2013 <[email protected]>

*** Checking for an update to install_chrome.sh ...

--2013-07-18 17:27:02--  http://chrome.richardlloyd.org.uk/version.dat
Resolving chrome.richardlloyd.org.uk... 193.110.246.53
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5 [text/plain]
Saving to: âversion.datâ

100%[===================================================================================================================>] 5           --.-K/s   in 0s

2013-07-18 17:27:02 (264 KB/s) - âversion.datâ

*** install_chrome.sh is already the latest version (2.00) - continuing ...

*** Determining latest Google Chrome version number ...

Step 3: Starting Chrome Web Browser

Start browser with non-root user.

# google-chrome &

Google Chrome Startup Screen

 

Google Chrome Startup Screen

Welcome screen of Chrome web browser.

Google Chrome Welcome Screen

 

你可能感兴趣的:(centos,chrome,RHEL,fodora)