centos安装最新的 chromium 和 chorme

centos官方rpm包下载地址,直接安装

http://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/


将chromium图标拖到顶栏,参数设置:commad最后面接,如下命令

--user-data-dir

Solved: Google Chrome no longer installs on CentOS 6.4 or CentOS 6.5

This also works for CentOS 6.5

Update 1: It looks like I had a cached version of the rpm in a local repo. Here is the RPM that you can use to install the last version that worked for CentOS 6:

Download: google-chrome-stable-27.0.1453.110-202711.x86_64.rpm

Install instructions:
# yum -y install google-chrome-stable-27.0.1453.110-202711.x86_64.rpm

—END OF UPDATE—

Update 2: It looks like you can also install Chromium and get version 28 running

Install Chromium:

sudo su -
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
yum install chromium

Install Pepper Flash:

cd /tmp
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_pepperflash_copy.sh
chmod +x chrome_pepperflash_copy.sh
./chrome_pepperflash_copy.sh

Install PDF Viewer:

cd /tmp
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_libpdf_copy.sh
chmod +x chrome_libpdf_copy.sh
./chrome_libpdf_copy.sh

Chromium should now be installed and accessible via your window manager’s menu.

Thanks to stavros on Google+ for the tip.

Source: http://www.if-not-true-then-false.com/2013/install-chromium-on-centos-red-hat-rhel/

—END OF UPDATE—

Update 3: There appears to be a script that lets you run Chrome 28 on CentOS 6


Source: http://chrome.richardlloyd.org.uk/

—END OF UPDATE—

Original post:

The latest version of Google Chrome no longer installs on CentOS 6.4 due to dependency issues:

# yum -y install google-chrome

--->; Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
-->; Processing Dependency: lsb >= 4.0 for package: google-chrome-stable-28.0.1500.63-208724.x86_64
-->; Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
-->; Running transaction check
--->; Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
-->; Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
--->; Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be installed
-->; Processing Dependency: redhat-lsb-printing(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-graphics(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-compat(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be installed
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-28.0.1500.63-208724.x86_64 (google-chrome-local)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)

The solution is to install an older version that is known to work with CentOS 6.4:

# yum install google-chrome-stable-27.0.1453.110-202711.x86_64

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * misc: master
 * misc6: master
google-chrome                                                                                  |  951 B     00:00     
google-chrome/primary                                                                          | 1.8 kB     00:00     
google-chrome                                                                                                     3/3
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:27.0.1453.110-202711 will be installed
--> Processing Dependency: lsb >= 4.0 for package: google-chrome-stable-27.0.1453.110-202711.x86_64
--> Running transaction check
---> Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be installed
--> Processing Dependency: redhat-lsb-printing(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-graphics(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-compat(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Running transaction check
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                        Arch             Version                          Repository                     Size
======================================================================================================================
Installing:
 google-chrome-stable           x86_64           27.0.1453.110-202711             google-chrome-local            51 M
Installing for dependencies:
 redhat-lsb                     x86_64           4.0-7.el6.centos                 base                           11 k
 redhat-lsb-compat              x86_64           4.0-7.el6.centos                 base                           10 k
 redhat-lsb-core                x86_64           4.0-7.el6.centos                 base                           25 k
 redhat-lsb-graphics            x86_64           4.0-7.el6.centos                 base                           13 k
 redhat-lsb-printing            x86_64           4.0-7.el6.centos                 base                           11 k

Transaction Summary
======================================================================================================================
Install       6 Package(s)

Total download size: 51 M
Installed size: 152 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): google-chrome-stable-27.0.1453.110-202711.x86_64.rpm                                    |  51 MB     00:00     
(2/6): redhat-lsb-4.0-7.el6.centos.x86_64.rpm                                                  |  11 kB     00:00     
(3/6): redhat-lsb-compat-4.0-7.el6.centos.x86_64.rpm                                           |  10 kB     00:00     
(4/6): redhat-lsb-core-4.0-7.el6.centos.x86_64.rpm                                             |  25 kB     00:00     
(5/6): redhat-lsb-graphics-4.0-7.el6.centos.x86_64.rpm                                         |  13 kB     00:00     
(6/6): redhat-lsb-printing-4.0-7.el6.centos.x86_64.rpm                                         |  11 kB     00:00     
----------------------------------------------------------------------------------------------------------------------
Total                                                                                  83 MB/s |  51 MB     00:00     
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-google-chrome
Importing GPG key 0x7FAC5991:
 Userid: "Google, Inc. Linux Package Signing Key <[email protected]>"
 From  : /etc/pki/rpm-gpg/RPM-GPG-KEY-google-chrome
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : redhat-lsb-core-4.0-7.el6.centos.x86_64                                                            1/6 
  Installing : redhat-lsb-printing-4.0-7.el6.centos.x86_64                                                        2/6 
  Installing : redhat-lsb-graphics-4.0-7.el6.centos.x86_64                                                        3/6 
  Installing : redhat-lsb-compat-4.0-7.el6.centos.x86_64                                                          4/6 
  Installing : redhat-lsb-4.0-7.el6.centos.x86_64                                                                 5/6 
  Installing : google-chrome-stable-27.0.1453.110-202711.x86_64                                                   6/6 
Unable to send message to PackageKit
  Verifying  : redhat-lsb-printing-4.0-7.el6.centos.x86_64                                                        1/6 
  Verifying  : google-chrome-stable-27.0.1453.110-202711.x86_64                                                   2/6 
  Verifying  : redhat-lsb-4.0-7.el6.centos.x86_64                                                                 3/6 
  Verifying  : redhat-lsb-core-4.0-7.el6.centos.x86_64                                                            4/6 
  Verifying  : redhat-lsb-compat-4.0-7.el6.centos.x86_64                                                          5/6 
  Verifying  : redhat-lsb-graphics-4.0-7.el6.centos.x86_64                                                        6/6 

Installed:
  google-chrome-stable.x86_64 0:27.0.1453.110-202711                                                                  

Dependency Installed:
  redhat-lsb.x86_64 0:4.0-7.el6.centos                      redhat-lsb-compat.x86_64 0:4.0-7.el6.centos              
  redhat-lsb-core.x86_64 0:4.0-7.el6.centos                 redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos            
  redhat-lsb-printing.x86_64 0:4.0-7.el6.centos            

Complete!

This post assumes that you have already added the necessary Google Chrome repo.

 

    

 

- See more at: http://georgeinenglish.com/solved-google-chrome-no-longer-installs-on-centos-6-4/#sthash.mghDXPue.dpuf

你可能感兴趣的:(centos)