无法在RHEL 7中安装Chrome

时间:2018-05-31 16:06:09

标签: redhat

我正在尝试使用以下方式安装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 for package:google-chrome-stable-67.0.3396.62-1.x86_64 - >处理依赖性:libappindicator3.so.1()(64位)包:google-chrome-stable-67.0.3396.62-1.x86_64 - >处理依赖项:/ usr / bin / lsb_release for package:google-chrome-stable-67.0.3396.62-1.x86_64 - >完成的依赖性解决方案 错误:包:google-chrome-stable-67.0.3396.62-1.x86_64(/ google-chrome-stable_current_x86_64)            需要:libappindicator3.so.1()(64位) 错误:包:google-chrome-stable-67.0.3396.62-1.x86_64(/ google-chrome-stable_current_x86_64)            需要:/ usr / bin / lsb_release  您可以尝试使用--skip-broken来解决问题  您可以尝试运行:rpm -Va --nofiles --nodigest

请帮助。

2 个答案:

答案 0 :(得分:0)

取自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

答案 1 :(得分:0)

问题解决了。我只需要使用subscription-manager来订阅和注册我的系统,并使用yum check-update更新yum。