首页 > 解决方案 > 无法在 RHEL 7 中安装 Chrome

问题描述

我正在尝试使用以下方式安装 Chrome:

sudo yum localinstall -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

但每次我收到此错误时:

加载的插件:langpacks、product-id、search-disabled-repos、subscription-manager 此系统未向授权服务器注册。您可以使用订阅管理器进行注册。检查 /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64.rpm:google-chrome-stable-67.0.3396.62-1.x86_64 标记 /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64 .rpm 将被安装 解析依赖 --> 运行事务检查 ---> 将安装包 google-chrome-stable.x86_64 0:67.0.3396.62-1 --> 处理依赖:/usr/bin/lsb_release 用于包: google-chrome-stable-67.0.3396.62-1.x86_64 --> 处理依赖:libappindicator3.so.1()(64bit) 用于包:google-chrome-stable-67.0.3396.62-1.x86_64 --> 处理依赖:/usr/bin/lsb_release 用于包:google-chrome-stable-67.0.3396.62-1。

请帮忙。

标签: redhat

解决方案


取自https://access.redhat.com/discussions/917293

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum -y install redhat-lsb libXScrnSaver
yum -y localinstall google-chrome-stable_current_x86_64.rpm

推荐阅读