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 ユーザーとしてシェルで以下のコマンドを実行しました。

実行:

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をインストールするのを手伝ってください...

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 ビット) の場合、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
于 2015-07-08T23:12:17.763 に答える