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!

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM