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

本文详细阐述了在CentOS5.5系统下安装Chrome时遇到的libc.so.6(GLIBC_2.11)和libcurl.so.4依赖问题,并解释了为何在RHEL5中Chrome无法正常运行的原因。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我的操作系统

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

转载于:https://my.oschina.net/u/251494/blog/121346

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值