How to Update/Install mercurial on CentOS 5.5


Assumption : Your CentOS server is NOT connected to internet but is available on internal network

Check your current mercurial version ‘hg –version’

Step 1: Goto

Search for Latest release , latest as of now is :


Step 2: Download this repo on Machine with access to internet

i have ubuntu box :

wget “”

Step 3: Transfer to CentOS

scp mercurial-1.9.2-1.el5.rf.x86_64.rpm poorak@centOSBox:~/.

Step 4: go to cd ~/

and Finally Install using yum or rpm

sudo yum install mercurial-1.9.2-1.el5.rf.x86_64.rpm

Sudo rpm -i mercurial-1.9.2-1.el5.rf.x86_64.rpm

and you are Done !