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
发布了73 篇原创文章 · 获赞 36 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/jiang18238032891/article/details/103735112