Centos7安装、更新Google浏览器

下载:
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
执行:rpm -ivh google-chrome-stable_current_x86_64.rpm
如果发生异常,如缺少依赖包

[root@fx-screenshot-001 ~]# 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:
        libappindicator3.so.1()(64bit) is needed by google-chrome-stable-76.0.3809.100-1.x86_64
        liberation-fonts is needed by google-chrome-stable-76.0.3809.100-1.x86_64
        xdg-utils is needed by google-chrome-stable-76.0.3809.100-1.x86_64

安装依赖包:

yum install -y redhat-lsb
yun install -y epel-release
yum install -y libappindicator-gtk3
yum install -y liberation-fonts
yum install -y vulkan-1.1.97.0-1.el7.x86_64

安装:

rpm -ivh google-chrome-stable_current_x86_64.rpm

更新:

rpm -Uvh google-chrome-stable_current_x86_64.rpm

Guess you like

Origin blog.csdn.net/ASAS1314/article/details/99715693