Install git on Scientific Linux SL 5.4

If you want to install the latest version of git (from source), run:

yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
cd /usr/local/src
wget http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz
tar xzvf git-1.7.9.2.tar.gz
cd git-1.7.9.2
make prefix=/usr/local all
make prefix=/usr/local install

resources

Comments