参考:https://zhidao.baidu.com/question/2206382243543257548.html

1、在地址栏输入

people.centos.org/hughesjr/chromium/6/i386/RPMS/

2、下载对应的rpm安装包

3、选择保存文件,我的下载保存在/home/用户名/Download下

4、到保存路径下,修改权限 chmod 755 ***.rpm

5、安装:

[root@localhost Downloads]# rpm -ivh chromium-31.0.1650.63-2.el6.i686.rpm

安装时如有以来关系,则报如下错误

[root@rac1 Packages]# rpm -ivh ****.rpm

warning: chromium-31.0.1650.63-2.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID ef1d6db8: NOKEY

error: Failed dependencies:

libX11.so.6 is needed by chromium-31.0.1650.63-2.el6.i686······

解决的方法就是在rpm 语句后面加上 --force --nodeps

即原本为 rpm -ivh *.rpm 现在改成 rpm -ivh *.rpm --force --nodeps就可以了。nodeps的意思是忽视依赖关系

[root@localhost Downloads]# rpm -ivh chromium-31.0.1650.63-2.el6.i686.rpm --force --nodeps

warning: chromium-31.0.1650.63-2.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID ef1d6db8: NOKEY

Preparing... ########################################### [100%]

1:chromium ########################################### [100%]

Logo

更多推荐