HostOnNet Blog

Installing Git on CentOS

Git is a distributed version control created by Linus torvalds for managing Linux kernal. Now many large projects use git for version control.

You can download latest version of git from

http://git-scm.com/download

To install version 1.7.5.2, run

cd /usr/local/src
wget http://kernel.org/pub/software/scm/git/git-1.7.5.2.tar.bz2
tar jxvf git-1.7.5.2.tar.bz2
cd git-1.7.5.2
make clean && make distclean
make configure
./configure --prefix=/usr
make
make install

Posted in Linux