HostOnNet Blog

Installing Git on CentOS

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.