在centos5.5的操作系统下装chrome

我的操作系统

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

我照了网上的安装方法,在文件下添加了以下的代码

vim /etc/yum.repos.d/CentOS-Base.repo

根据自己操作系统来添加相关的代码

32bit

[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.pub
64bit
[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查找答案,最后在这个地址找到了答案

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.)

你可能感兴趣的:(在centos5.5的操作系统下装chrome)