Skip to content

Instantly share code, notes, and snippets.

@jalenjie
jalenjie / Git_Installation.sh
Created August 30, 2017 06:20 — forked from firstval/Git_Installation.sh
Installing Git on CentOS 6.7
yum groupinstall "Development Tools"
yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel expat-devel curl-devel
yum install gcc perl-ExtUtils-MakeMaker
yum remove git
wget https://github.com/git/git/archive/v2.5.3.tar.gz -O git.tar.gz
tar -zxf git.tar.gz
cd git-2.5.3
make configure
./configure --prefix=/usr/local
make install