首页 > 解决方案 > 在 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

有人可以指导我解决这个问题吗?

标签: google-chromecentos

解决方案


推荐阅读