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]#

相关文章:

  • 2021-11-30
  • 2021-11-30
  • 2021-11-17
  • 2021-11-19
  • 2021-11-06
  • 2021-04-07
  • 2021-07-21
猜你喜欢
  • 2022-02-04
  • 2022-01-29
  • 2022-01-09
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案