CentOS7安装Chrome
1. 下载Chrome浏览器的rpm包
2. 安装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:
chrome浏览器手机版下载[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
没有安装中⽂输⼊法,打字太难受了
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
直接下载安装包,⽬前提供windows, ubuntu,centos的安装包。
windows 直接双击exe安装,
centos    rpm -ivh [rpm包]
ubuntu  dpkm -i  [deb包]

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。