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

个人操做系统 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.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查找答案,最后在这个地址找到了答案 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.)
相关文章
相关标签/搜索