> CentOS > CentOS入门 >

CentOS安装Chrome

问题

在CentOS安装Chrome会遇到 libstdc++.so.6(GLIBCXX_3.4.15)(64bit) 依赖失败的问题,

即使下载了最新的libstdc++.so.6(包含GLIBCXX_3.4.15)也解决不了问题.

Resolving Dependencies
--> Running transaction check
---> Package google-chrome-beta.x86_64 0:35.0.1916.69-1 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-beta-35.0.1916.69-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-beta-35.0.1916.69-1.x86_64 (google64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

解决方法

下面给出一个最简单的方法:

1.首先访问下面的网址,选择一个版本的RPM按张包

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

例如想要安装chromium-31.0.1650.63-2.el6.x86_64.rpm

2.执行下面的命令

[root]# yum install http://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/chromium-31.0.1650.63-2.el6.x86_64.rpm

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
Setting up Install Process
chromium-31.0.1650.63-2.el6.x86_64.rpm | 36 MB 06:24 
Examining /var/tmp/yum-root-GNVAo4/chromium-31.0.1650.63-2.el6.x86_64.rpm: chromium-31.0.1650.63-2.el6.x86_64
Marking /var/tmp/yum-root-GNVAo4/chromium-31.0.1650.63-2.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package chromium.x86_64 0:31.0.1650.63-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
chromium x86_64 31.0.1650.63-2.el6 /chromium-31.0.1650.63-2.el6.x86_64 123 M

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

Total size: 123 M
Installed size: 123 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : chromium-31.0.1650.63-2.el6.x86_64 1/1 
Verifying : chromium-31.0.1650.63-2.el6.x86_64 1/1

Installed:
chromium.x86_64 0:31.0.1650.63-2.el6

Complete!

 



(责任编辑:IT)