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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM