1, Add the EPEL repository, then install it using yum.
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
2, Install DAG's GPG key and Verify the package you have downloaded
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
3, Install it
rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
4, install git using yum
yum install git
this is for CentOS 5
ReplyDelete