Centos下安装Google Chrome做网页性能分析

    技术2026-08-03  3

    系统: Centos 7.7

    CPU:x86

    Bit: 64位

    下载安装包

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

    安装依赖

    [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):

    yum -y install libXScrnSaver

    解决libXtst.so.6():

    yum -y install libXtst

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

    yum -y install libappindicator-gtk3

    解决liberation-fonts:

    yum -y install liberation-fonts

    解决xdg-utils:

    yum -y install xdg-utils

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

    yum -y install at [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

    Processed: 0.011, SQL: 9