Git build
Jump to navigation
Jump to search
Building git
See the current verion of git
git --version
This page is based on this post and on this post.
sudo -i yum install perl-ExtUtils-MakeMaker gettext-devel expat-devel curl-devel zlib-devel openssl-devel openssl-devel gcc-c++ make wget -O git-source.tar.gz https://api.github.com/repos/git/git/tarball/master tar zxvf git-source.tar.gz mv git-git* gitsource
cd gitsource make prefix=/usr/local all make prefix=/usr/local install