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 http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/

Search for Latest release , latest as of now is :

http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/mercurial-1.9.2-1.el5.rf.x86_64.rpm

 

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

i have ubuntu box :

wget “http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/mercurial-1.9.2-1.el5.rf.x86_64.rpm”

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 !

Ref: http://mercurial.selenic.com/wiki/Download#Linux_.28.rpm.29