问题
在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-browser-38.0.2125.111-1.el6.centos.x86_64.rpm
2.执行下面的命令
yum install chromium-browser-38.0.2125.111-1.el6.centos.x86_64.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
....
....
....
Installed:
chromium-browser.x86_64 0:38.0.2125.111-1.el6.centos
Dependency Installed:
audit-libs-python.x86_64 0:2.3.7-5.el6
libcgroup.x86_64 0:0.40.rc1-16.el6
libsemanage-python.x86_64 0:2.0.43-5.1.el6
policycoreutils-python.x86_64 0:2.0.83-24.el6
setools-libs.x86_64 0:3.3.7-4.el6
setools-libs-python.x86_64 0:3.3.7-4.el6
Dependency Updated:
libsemanage.x86_64 0:2.0.43-5.1.el6 policycoreutils.x86_64 0:2.0.83-24.el6
Complete!
http://people.centos.org/ 还有一些其他的包可以安装