2

我创建了一个 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

我以 root 用户身份在 shell 中执行了以下命令:

执行:

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 包,我发现安装了以下包:redhat-lsb.x86_64 redhat-lsb.i386

请帮我在 oracle 企业版 linux 5 中安装 google chrome ...

4

2 回答 2

3

好吧,似乎 OL 5 有旧版本的 GLIBC 并且 chrome 无法使用它。

https://superuser.com/questions/393158/how-to-install-a-chrome-on-my-rhel-5-3-box

于 2013-01-23T20:33:45.077 回答
2

如果您不介意安装不需要最新 libstdc++.so 的早期版本的 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
于 2015-07-08T23:12:17.763 回答