谷歌浏览器rpm包下载地址:https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
安装命令:rpm -ivh google-chrome-stable_current_x86_64.rpm
安装会遇到依赖问题:
[root@f-140 Downloads]# rpm -ivh google-chrome-stable_current_x86_64.rpm
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
/usr/bin/lsb_release is needed by google-chrome-stable-73.0.3683.103-1.x86_64
libXss.so.1()(64bit) is needed by google-chrome-stable-73.0.3683.103-1.x86_64
libappindicator3.so.1()(64bit) is needed by google-chrome-stable-73.0.3683.103-1.x86_64
liberation-fonts is needed by google-chrome-stable-73.0.3683.103-1.x86_64
libnss3.so(NSS_3.22)(64bit) is needed by google-chrome-stable-73.0.3683.103-1.x86_64
libssl3.so(NSS_3.28)(64bit) is needed by google-chrome-stable-73.0.3683.103-1.x86_64
查找需要依赖的包并安装:
yum install redhat-lsb
yum install libXScrnSaver*
yum install libappindicator-gtk3
yum -y install liberation-fonts
yum -y install nss
然后在执行 :rpm -ivh google-chrome-stable_current_x86_64.rpm 就OK了