Centos7安装chrome、chromedrive

安装流程
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
cd /opt/google/chrome/
wget http://npm.taobao.org/mirrors/chromedriver/114.0.5735.90/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x /opt/google/chrome/chromedriver

异常情况

  1. 缺少so包
    执行失败提示:
    Error: Package: google-chrome-stable-xxxxxxxxx-1.x86_64 (google-chrome)
    Requires: libvulkan.so.1()(64bit) Unable to install this package libvulkan.so.1()(64bit), unable to find a source to download it.

下载地址:https://centos.pkgs.org/7/centos-x86_64/libappindicator-gtk3-12.10.0-13.el7.x86_64.rpm.html

  1. so包冲突
    Error: Transaction test error:
    file /usr/share/doc/at-spi2-core/NEWS from install of at-spi2-core-2.48.2-1.fc38.i686 conflicts with file from package at-spi2-core-2.48.0-1.fc38.x86_64
    file /usr/share/doc/libssh/CHANGELOG from install of libssh-0.10.5-1.fc38.i686 conflicts with file from package libssh-0.10.4-4.fc38.x86_64

https://discussion.fedoraproject.org/t/dnf-update-stalled-by-conflict/82813
https://www.cnblogs.com/bjarnescottlee/p/13871634.html

中文乱码问题:
https://blog.csdn.net/Happy_Sunshine_Boy/article/details/123204457
centos安装中文字体
https://cloud.tencent.com/developer/article/1616990


google-chrome for centos 历史版本下载
http://orion.lcg.ufrj.br/RPMS/myrpms/google/
linux一次安装chromedrive记录
https://www.cnblogs.com/zhangxl1016/p/17044331.html

posted @   鱼007  阅读(250)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
点击右上角即可分享
微信分享提示