2012-11-23 19 views
1

我創建了一個google.repo文件,並存儲在yum.repos.d文件,google.repo的內容是:我無法安裝谷歌瀏覽器在我的Oracle Enterprise Linux的

[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 

輸出:

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

回答

2

如果你不介意安裝谷歌Chrome瀏覽器的早期版本不要求安裝最新版本的libstdC++所以,閱讀以下內容:。

例如,對於甲骨文的Linux 6.6(64位),谷歌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 
相關問題