问题
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.
回答1:
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
回答2:
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://stackoverflow.com/questions/21623131/unable-to-install-chromium-in-my-centos