Skip to content

Instantly share code, notes, and snippets.

Created March 26, 2015 00:04
What would you like to do?
install git from source
su -
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
yum install gcc perl-ExtUtils-MakeMaker
yum remove git
# Download source
# check latest version in
cd /usr/src
tar xzf git-<latest-version>.tar.gz
# create git from source code
cd git-<latest-version>
make prefix=/opt/git all
make prefix=/opt/git install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment