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