installing mercurial on redhat/centos

Mads Kiilerich mads at kiilerich.com
Wed Jun 8 04:32:18 CDT 2011


On 06/08/2011 08:53 AM, norricorp wrote:
> Hi,
> the download page on the mercurial site says to download on Fedora is
> # Fedora
> $ yum install mercurial
> When I try this on centos, I get no such package.
> Does centos/redhat and fedora use the same repository?

For all practical purposes, yes.

Both can use http://fedoraproject.org/wiki/EPEL that contains many of 
the Fedora packages that Red Hat didn't include in their offering. That 
repo do however mostly follow the Enterprise Linux policy of not 
upgrading packages unless there are very compelling reasons - they will 
rather backport critical fixes. Fortunately or unfortunately that means 
that for EL5 they have Mercurial 1.3.1 and no reason to upgrade.

Instead I recommend installing python-docutils from EPEL and build your 
own Mercurial rpms by cloning the Mercurial repository and running 
contrib/buildrpm .

/Mads


More information about the Mercurial mailing list