一、firefox的安装:
1. 安装remi源
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
(注意:官网上源可能会有跟新变化,导致说找不到对应rpm文件,可以先在浏览器上进入http://download.fedoraproject.org/pub/epel/6/i386/ 搜索一下与epel-release-6-8.noarch.rpm相近的包,如果有,改为相应版本号的包,比如改为epel-release-6-7.noarch.rpm等)
64位的centos参考:sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
(如果找不到,解决方法同上)
2. 更新或安装Firefox
sudo yum install firefox
更新:
yum --enablerepo=remi update firefox
安装:
yum --enablerepo=remi install firefox
二、chromium的安装
1、下载新的软件源
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
2、yum install chromium
主要参考:1、http://blog.csdn.net/txz317/article/details/49681521
2、http://blog.csdn.net/runningtortoises/article/details/51555311