Domanda

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

cd /etc/yum.repos.d/

wget http://repos.fedorapeople.org/repos/spot/chromium/fedora-chromium-stable.repo . but when i run command yum install chromium

its giving me error

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

Please help in resolving it.

È stato utile?

Soluzione

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

Altri suggerimenti

Late answer and not the desired solution, but I've installed Chrome on CentOS 7 using:

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

Latest Google Chrome no longer supports 6.x. You need CentOS 7.x.

https://discuss.tutorialdba.com/852/install-epel-repository-centos explains how to install Chromium on CentOS 8, should you need to.

If

sudo dnf --disablerepo="*" --enablerepo="epel" list available | grep chromium

confirms you've got epel installed and chromium is available, then run

sudo dnf --enablerepo="epel" install chromium

to perform the install successfully.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top