google-chrome - 在 CENTOS/RHEL 6.10 上安装谷歌浏览器
问题描述
我正在尝试在 CENTOS/RHEL 6.10 机器上安装 google chrome 浏览器。它是一个非 GUI 机器。我需要在这台机器上安装 google chrome 以在 chrome 无头模式下执行 selenium web 驱动程序测试用例。Linux 管理团队在 /etc/yum.repos.d 下创建了名为google-x86_64.repo的 google chrome repo我已经安装了 cntlm 并在 bashrc 中配置了代理以连接到 Internet。我可以使用 wget 命令下载 google-chrome-stable rpm。但是,当我尝试使用命令sudo yum install ./google-chrome-stable_current_*.rpm安装 google-chrome 时,我收到以下错误。
错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 要求:libxkbcommon.so.0()(64bit) 错误:包:google-chrome-stable-93.0.4577.63 -1.x86_64 (/google-chrome-stable_current_x86_64) 需要:libc.so.6(GLIBC_2.14)(64bit) 错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome- stable_current_x86_64) 需要:libgtk-3.so.0()(64bit) 错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 需要:libatspi.so.0() (64 位)错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 需要:libatk-bridge-2.0.so.0()(64 位) 错误:包:google- chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 要求:libvulkan.so.1()(64bit) 错误:包:google-chrome-stable-93.0.4577.63-1。x86_64 (/google-chrome-stable_current_x86_64) 需要:liberation-fonts 错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 需要:libc.so.6(GLIBC_2.17 )(64位)错误:包:google-chrome-stable-93.0.4577.63-1.x86_64(/google-chrome-stable_current_x86_64)需要:libc.so.6(GLIBC_2.16)(64位)错误:包:google- chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 要求:libc.so.6(GLIBC_2.15)(64bit) 您可以尝试使用 --skip-broken 来解决问题 您可以尝试运行: rpm -Va --nofiles --nodigestx86_64 (/google-chrome-stable_current_x86_64) 需要:libc.so.6(GLIBC_2.16)(64bit) 错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 需要: libc.so.6(GLIBC_2.15)(64bit) 你可以尝试使用 --skip-broken 来解决这个问题 你可以尝试运行: rpm -Va --nofiles --nodigestx86_64 (/google-chrome-stable_current_x86_64) 需要:libc.so.6(GLIBC_2.16)(64bit) 错误:包:google-chrome-stable-93.0.4577.63-1.x86_64 (/google-chrome-stable_current_x86_64) 需要: libc.so.6(GLIBC_2.15)(64bit) 你可以尝试使用 --skip-broken 来解决这个问题 你可以尝试运行: rpm -Va --nofiles --nodigest
有人可以指导我解决这个问题吗?
解决方案
推荐阅读
- node.js - 禁用/覆盖 bodyparser 行为
- c++ - C++ 编译如何处理共享库和模板
- android - 使用 Kotlin 在片段中创建 AlertDialog
- php - 在 CSV 文件的所有字段中插入双引号 (PHP5.6.38)
- mysql - 访问mysql Pool ojbect的PoolConfig的数据库成员
- javascript - 如何获取用户选择的单词的单词编号
- java - Space complexity of the piece of code below?
- c# - 为什么我无法加载 DLL 'libgdiplus':找不到指定的模块 - CentOS 7.5
- c# - 访问多维 stdClassObject - 数组
- kubernetes - 在 kubeflow 上找不到 GOOGLE_APPLICATION_CREDENTIALS