CentOS:无法安装 Chromium 浏览器

人气:978 发布:2022-10-16 标签: linux centos chromium fedora

问题描述

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

I am trying to install chromium in centOS 6.i run the following commands as root user.

cd/etc/yum.repos.d/

cd /etc/yum.repos.d/

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

wget http://repos.fedorapeople.org/repos/spot/chromium/fedora-chromium-stable.repo . but when i run command 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

请帮忙解决.

推荐答案

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

execute following commands (with root or sudoers privilege)

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

905