Skip to content

Instantly share code, notes, and snippets.

@Liam0205
Created December 18, 2018 10:53
Show Gist options
  • Save Liam0205/3805d9e257a19fcb3b4f62126c3d20bb to your computer and use it in GitHub Desktop.
Save Liam0205/3805d9e257a19fcb3b4f62126c3d20bb to your computer and use it in GitHub Desktop.
Compile and Install Git on CentOS 7
yum install asciidoc
yum install xmlto
yum install zlib-devel
yum install cpan
version="2.9.5"
fname="git-${version}"
tarball="${fname}.tar.gz"
wget https://mirrors.edge.kernel.org/pub/software/scm/git/${tarball}
tar zvxf ${tarball}
cd ${fname}
./configure
make -j32 all doc
make install install-doc install-man install-html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment