centos5.X通过yum安装mercurial

1、 yum install yum-priorities
2、 确认/etc/yum/pluginconf.d/priorities.conf 中enabled=1
3、 修改/etc/yum.repos.d/centos_base.repo
[base], [addons], [updates], [extras]节点添加 priority=1
[centosplus],[contrib]节点添加 priority=2
4、 wget wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
5、 rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
6、 rpm -K rpmforge-release-0.5.2-2.el5.rf.i386.rpm
7、 rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
8、 yum install mercurial

posted @ 2012-08-20 16:41  lykyl的自留地  阅读(1487)  评论(0编辑  收藏  举报