繁体   English   中英

我无法在Oracle Enterprise Linux中安装Google Chrome

[英]I am not able to install google chrome in my oracle enterprise linux

我创建了一个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 Enterprise Linux 5中安装Google Chrome。

好的,看来OL 5具有较旧的GLIBC版本,而chrome将无法使用它。

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

如果您不介意安装不需要最新libstdc ++。so的早期版本的Google Chrome,请阅读以下内容:

例如,对于Oracle Linux 6.6(64位),google chrome 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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM