linux 安装谷歌浏览器

1. 下载 rpm 包
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
2. 安装依赖包
yum install -y lsb
yum install -y libXScrnSaver
3. 安装chrome
rpm ivh google-chrome-stable_current_x86_64.rpm
注:rmp ivh 后面跟的是你下载的chrome 的rpm包全名

下载驱动chromedriver:

[root@hostuser chrome]# ll
总用量 59668
-rwxr-xr-x. 1 root root 7903592 1月 9 2018 chromedriver
-rw-r--r--. 1 root root 3721349 1月 10 2018 chromedriver_linux64.zip
-rw-r--r--. 1 root root 49471179 4月 26 22:43 google-chrome-stable_current_63.0.3239.84_x86_64.rpm
[root@hostuser chrome]#google-chrome -version

Google Chrome 63.0.3239.84
[root@hostuser chrome]#

posted @ 2019-04-30 21:04  不带R的墨菲特  阅读(4402)  评论(0编辑  收藏  举报