Install Git on CentOS

Install git on CENTOS


Author: Anonymous
Added: Wednesday, 21 May, 2014
Category: Git

Code

Install the dependencies
----------------------------
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel

Get the git source code
----------------------------
wget http://codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz


untar the git source code
----------------------------
tar xvfz git-1.6.1.tar.gz

Install
----------------------------
cd git-1.6.1.tar.gz

make prefix=/usr/local all

make prefix=/usr/local install

Comments