24 03 2013
Git
Installing git from source, also covers installing git on Solaris.
Install some dependencies
yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel
Get the latest source fromĀ https://code.google.com/p/git-core/downloads/list
cd /usr/src wget https://git-core.googlecode.com/files/git-1.8.1.rc2.tar.gz tar -xvf git-1.8.1.rc2.tar.gz cd git-1.8.1
Install
./configure make make install
And that’s it.
For Solaris
cd /usr/src wget http://www.sunfreeware.com/intel/10/git-1.7.6-sol10-x86-local.gz gunzip git-1.7.6-sol10-x86-local.gz pkgadd -d git-1.7.6-sol10-x86-local
To test do
/usr/local/bin/git