微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

linux – 无法在我的centOS中安装chrome

我正在尝试在centOS 6.i中安装chrome.以root用户身份运行以下命令.

cd /etc/yum.repos.d/

wget http://repos.fedorapeople.org/repos/spot/chromium/fedora-chromium-stable.repo.
但是当我运行命令yum安装铬

它给了我错误

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.vonline.vn
 * extras: mirrors.digipower.vn
 * updates: mirror.vietoss.com
http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Setting up Install Process
No package chromium available.
Error: nothing to do

请帮忙解决它.

解决方法:

执行以下命令(具有root或sudoers权限)

cd /etc/yum.repos.d                                                   ##Moving to a certain directory
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo   ##Download the chromium package
yum install chromium                                                  ##Install the chromium packages in the mentioned directory

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。