SentOS7環境安裝chrome

SentOS7環境安裝chrome

1.下載rpm包

最新版本:https://www.chrome64bit.com/index.php/google-chrome-64-bit-for-linux
歷史版本:http://www.chromedownloads.net/
另附需要安裝chrome驅動:
驅動下載地址:http://chromedriver.storage.googleapis.com/index.html
瀏覽器對應驅動本版:https://blog.csdn.net/u013274435/article/details/78973353

2.上傳rpm包到sentos

略。。。。。

3.安裝rpm包

rpm -ivh google-chrome-stable_current_x86_64_54.0.2840.87.rpm 

出錯如圖:

在這裏插入圖片描述
解決方法:安裝依賴

yum install redhat-lsb* ;
yum -y install libXss*;

再次安裝,出錯:

error: Failed dependencies:
        libgconf-2.so.4()(64bit) is needed by google-chrome-stable-54.0.2840.90-1.x86_64

意思是:依賴檢查出錯,可以無視其依賴包。
重新安裝:

 rpm -ivh google-chrome-stable_current_x86_64_54.0.2840.87.rpm  --nodeps --force
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章