SentOS7环境安装chrome

拜拜、爱过 提交于 2020-02-05 04:14:07

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!