Friday, November 15, 2013

Installing Git on CentOS 5

I was working with an older version of CentOS today and found out that the git repositories didn't exist. So just a quick note on getting git set up on CentOS 5.

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

Get the latest git tarball. The latest for me was git-

Untar the tarball
tar -xvfz git-

cd git-

make prefix=/usr/local all

make prefix=/usr/local install

No comments:

Post a Comment