Last active
September 22, 2015 06:24
-
-
Save sydcanem/a0af0b226edd87d41eb6 to your computer and use it in GitHub Desktop.
Git install from source on Centos7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum groupinstall "Development Tools" | |
sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel curl-devel | |
wget https://github.com/git/git/archive/v2.5.1.tar.gz -O git.tar.gz | |
tar -zvf git.tar.gz | |
cd git-* | |
make configure | |
./configure --prefix=/usr/local | |
sudo make install | |
git --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment