redhat - 无法在 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。
请帮忙。
解决方案
取自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
推荐阅读
- python - 解释器不运行 elif 块
- c - 使用whileloop时如何将光标移动到新行?
- spring-boot - spring boot oauth2 doc 教授不推荐使用的注释?
- python - GraphQL json 输出到 pandas 数据框
- python-3.x - 当我在 Ubuntu 上安装了 python3 时,无法修复此“错误:python3 apt no update 需要添加支持”
- python - 如何使用 Flask 创建基于模板的动态 URL
- java - org.springframework.web.HttpRequestMethodNotSupportedException 不支持请求方法“POST”
- javascript - Image Popup 无法在移动设备中执行
- javascript - 从外部(现场)文件调用外部(非现场)文件
- reactjs - 在反应中更改状态变量(对象数组)