2014-02-07 99 views
3

我正尝试在centOS 6.i中安装铬。以root用户身份运行以下命令。无法在我的centOS中安装铬

CD /etc/yum.repos.d/

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

它给我的错误

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 

请在解决它帮助。

回答

10

执行下面的命令(以根用户或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 
+1

u能请帮助一点究竟是什么在Fedora的/ CentOS的,并从安装软件最适合的方法从哪里得到这些URL repos.please引导小。 –

+1

@RiteshMehandiratta:我建议从http://pkgs.org/为你的linux下载软件包,你可以在那里找到大部分的软件包,只是搜索那里的软件包 –

+0

我用你的步骤.its安装成功。但之后,当我运行命令铬,chromium.its印刷铬不是一个命令。 –