系统: Centos 7.7

CPU:x86

Bit: 64位

下载安装包

1
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

安装依赖

1
2
3
4
5
6
7
8
9
10
11
12
[root@hctech src]# rpm -ivh google-chrome-stable_current_x86_64.rpm
警告:google-chrome-stable_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
错误:依赖检测失败:
    libXss.so.1()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libXtst.so.6()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libappindicator3.so.1()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libatk-bridge-2.0.so.0()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libatspi.so.0()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    liberation-fonts 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libgdk-3.so.0()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    libgtk-3.so.0()(64bit) 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要
    xdg-utils 被 google-chrome-stable-80.0.3987.122-1.x86_64 需要

解决libXss.so.1()(64bit)

1
yum -y install libXScrnSaver

解决libXtst.so.6()

1
yum -y install libXtst

解决libappindicator3.so.1libatk-bridge-2.0.so.0libatspi.so.0()libgdk-3.so.0()

1
yum -y install libappindicator-gtk3

解决liberation-fonts

1
yum -y install liberation-fonts

解决xdg-utils

1
yum -y install xdg-utils

解决:Failed to start atd.service: Unit not found.

1
yum -y install at
1
2
3
4
5
[root@hctech src]# rpm -ivh google-chrome-stable_current_x86_64.rpm
准备中...                          ################################# [100%]
正在升级/安装...
   1:google-chrome-stable-80.0.3987.12################################# [100%]
Redirecting to /bin/systemctl start atd.service