Install Latest Stable git from source on CentOS
Put these commands in a shell script and run it.
yum install -y wget curl-devel expat-devel gettext-devel \
openssl-devel zlib-devel gcc perl-ExtUtils perl-devel
cd /usr/local/src
wget https://www.kernel.org/pub/software/scm/git/git-2.9.3.tar.gz
tar xzf git-2.9.3.tar.gz
cd git-2.9.3
./configure
make
make install
No comments:
Post a Comment