admin管理员组文章数量:1620174
【转载】 原地址:https://wwwblogs/lenmom/p/9195581.html 侵删
下载Chrome浏览器的rpm包
https://www.chrome64bit/index.php/google-chrome-64-bit-for-linux
- 安装Chrome浏览器
rpm -ivh google-chrome-stable_current_x86_64.rpm
如果出现下面错误消息,则表明缺少依赖包:
复制代码
[root@lenmomDesktop Downloads]# rpm -ivh google-chrome-stable_current_x86_64.rpm
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
libXss.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.87-1.x86_64
libappindicator3.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.87-1.x86_64
libnss3.so(NSS_3.22)(64bit) is needed by google-chrome-stable-67.0.3396.87-1.x86_64
libssl3.so(NSS_3.28)(64bit) is needed by google-chrome-stable-67.0.3396.87-1.x86_64
复制代码
针对错误消息中的每个依赖包,执行命令repoquery --nvr --whatprovides <依赖文件>,安装输出包, such as:
[root@lenmomDesktop Downloads]# repoquery --nvr --whatprovides libappindicator3.so.1
libappindicator-gtk3-12.10.0-13.el7
[root@lenmomDesktop Downloads]# yum install -y libappindicator-gtk3-12.10.0-13.el7
发现亮点了吗?!!!
直到所有依赖包都安装完成,再执行命令:
rpm -ivh google-chrome-stable_current_x86_64.rpm
没有安装中文输入法,打字太难受了!!!
又发现了一种新的安装方法:
浏览器打开https://www.google/chrome/
直接下载安装包,目前提供windows, ubuntu,centos的安装包。
windows 直接双击exe安装,
centos rpm -ivh [rpm包]
ubuntu dpkm -i [deb包]
版权声明:本文标题:CentOS(linux) google chrome安装缺少依赖包的问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1728809159a1174595.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论