個人操做系統 linux
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 athlon i386 GNU/Linux我在虛擬機下面裝的是centos5.5的系統
而後我是個英盲,因此我想用chrome chrome
我照了網上的安裝方法,在文件下添加了如下的代碼 shell
vim /etc/yum.repos.d/CentOS-Base.repo
根據本身操做系統來添加相關的代碼 vim
32bit centos
[google-chrome] name=google-chrome - 32-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub64bit
[google-chrome] name=google-chrome - 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub而後運行
yum install google-chrome-stable結果顯示
Error: Missing Dependency: libc.so.6(GLIBC_2.11) is needed by package google-chrome-stable-26.0.1410.43-189671.i386 (google) Error: Missing Dependency: libcurl.so.4 is needed by package google-chrome-stable-26.0.1410.43-189671.i386 (google) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.我起初覺得是個人少裝了c url依賴的包,我用
yum list | grep curl
來查詢發現我有裝這個包,而後我上google查找答案,最後在這個地址找到了答案 dom
As far as I know, the Chrome binary rpm that are distributed by Google depends on glibc 2.8. So it is normal that the binary will not be run on RHEL5 properly. (RHEL5 has glibc 2.5.)