centos7安装chrome

发布时间 2023-07-21 10:37:07作者: 凉城旧巷

centos7安装chrome

一、下载rpm包(在linux上下载)

下载链接:https://www.google.cn/chrome/next-steps.html?statcb=0&installdataindex=empty&defaultbrowser=0

 

二、下载安装依赖包

yum -y install liberation-fonts
yum -y install libvulkan*

 

  • 不安装依赖包会出现一下报错
[root@localhost chrome]# 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:
        liberation-fonts is needed by google-chrome-stable-105.0.5195.125-1.x86_64
        libvulkan.so.1()(64bit) is needed by google-chrome-stable-105.0.5195.125-1.x86_64

 

三、安装chrome

rpm -ivh google-chrome-stable_current_x86_64.rpm

 

四、启动chrome

google-chrome