天天看點

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

繼續閱讀