centos7 安装chrome

download the rpm pkg of google-stable
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

dependencies
yum install redhat-lsb
yum install libXScrnSaver*
yum install epel-release
yum install liberation-fonts
yum install libappindicator-gtk3

yum install vulkan -y

rpm -ivh google-chome-xxx

 

方法二

 

curl https://intoli.com/install-google-chrome.sh | bash

ldd /opt/google/chrome/chrome | grep "not found"

google-chrome-stable --no-sandbox --headless --disable-gpu --screenshot https://www.baidu.com/

posted @ 2020-04-13 12:07  狂猫  阅读(761)  评论(0编辑  收藏  举报