(1)下载地址:https://www.chrome64bit.com/index.php/google-chrome-64-bit-for-linux
(2)安装google-chrome:
[hello localhost~]$: rpm -ivh google-chrome-stable_current_x86_64.rpm
(3)安装时候报错:
error: Failed dependencies:
/usr/bin/lsb_release is needed google-chrome-stable-50.0.2661.75-1.x86_64需要
libXss.so.1()(64bit) is needed by google-chrome-stable-50.0.2661.75-1.x86_64需要
libappindicator3.so.1()(64bit) is needed by google-chrome-stable-50.0.2661.75-1.x86_64需要
(4)执行下面命令安装依赖包。
[hello localhost~]$: yum install redhat-lsb libXss* -y libappindicator3.so.1 libappindicator-gtk3 gtk3-devel
依赖包安装完成后,再次执行第2步即可安装成功。
(5)google-chrome启动命令
[hello localhost~]$: google-chrome
到此,CentOS7安装google-chrome就完成啦。