How can I install git on CENTOS 5.5 machine? I tried to install it from yum but got following msg.
root@host [~]# sudo yum install git
Loaded plugins: fastes
This worked for me on CentOS:
Install dependencies:
yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel
Get Git
cd /usr/local/src
wget http://code.google.com/p/git-core/downloads/detail?name=git-1.7.8.3.tar.gz
tar xvzf git-1.7.8.3.tar.gz
cd git-1.7.8.3
Build Git
./configure
make
make install