Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install newest git on CentOS 6
# from https://www.digitalocean.com/community/tutorials/how-to-install-git-on-a-centos-6-4-vps
# added curl-devel - https://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https/13018777#13018777
TMPDIR=/data/tmp
sudo yum install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel curl-devel
cd ~
wget -O git.zip https://github.com/git/git/archive/master.zip
unzip git.zip
rm git.zip
cd git-master
make configure
./configure --prefix=/usr/local
make all doc
sudo make install install-doc install-html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.