无法在我的centOS中安装铬

时间:2014-02-07 08:48:42

标签: linux centos fedora centos6

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

cd /etc/yum.repos.d /

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

它给我错误

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

请帮助解决它。

2 个答案:

答案 0 :(得分:10)

执行以下命令(具有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

答案 1 :(得分:0)

最新答案,而不是所需的解决方案,但是我已使用以下方法在 Chrome 上安装了CentOS 7

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo yum install google-chrome-stable_current_x86_64.rpm

最新的Google Chrome浏览器不再支持 6.x。。您需要CentOS 7.x