我创建了一个google.repo文件,并将该文件存储在yum.repos.d中,google.repo的内容为:
[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
我在shell中以root用户身份执行了以下命令:
已执行:
yum install google-chrome-stable
输出:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:23.0.1271.64-165188 set to be updated
--> Processing Dependency: lsb >= 4.0 for package: google-chrome-stable
--> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: google-chrome-stable
--> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
--> Finished Dependency Resolution
google-chrome-stable-23.0.1271.64-165188.x86_64 from google-chrome has depsolving problems
--> Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
google-chrome-stable-23.0.1271.64-165188.x86_64 from google-chrome has depsolving problems
--> Missing Dependency: lsb >= 4.0 is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
google-chrome-stable-23.0.1271.64-165188.x86_64 from google-chrome has depsolving problems
--> Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
Error: Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
Error: Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
Error: Missing Dependency: lsb >= 4.0 is needed by package google-chrome-stable-23.0.1271.64-165188.x86_64 (google-chrome)
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.
我也找不到lsb包,我发现安装了以下包: 红帽-lsb.x86_64 在redhat-lsb.i386
请帮我在oracle enterprise linux 5中安装google chrome ...
答案 0 :(得分:3)
好吧,似乎OL 5有较旧版本的GLIBC,Chrome也无法使用。
https://superuser.com/questions/393158/how-to-install-a-chrome-on-my-rhel-5-3-box
答案 1 :(得分:2)
如果您不介意安装不需要最新版libstdc ++的早期版本的Google Chrome浏览器,请阅读以下内容:
例如,对于Oracle Linux 6.6(64位),谷歌浏览器版本35或更高版本需要libstdc ++。so.6(GLIBCXX_3.4.15)。转到http://orion.lcg.ufrj.br/RPMS/myrpms/google/并下载google-chrome-stable-27.0.1453.110-202711.x86_64.rpm。运行以下命令
sudo yum install /path-to/google-chrome-stable-27.0.1453.110-202711.x86_64.rpm
仅供参考 - 要查看您的系统具有哪些版本的libstdc ++,请执行以下操作
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX