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

in 互联网技术 with 0 comment  访问: 5,054 次

系统: Centos 7.7

CPU:x86

Bit: 64位

下载安装包

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

安装依赖

[root@nock 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.1libatk-bridge-2.0.so.0libatspi.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@nock 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

包下载搜索:https://pkgs.org/search/?q=chromium
安装参考:https://www.cnblogs.com/xcb0730/p/6952469.html

WeZan