Created
December 18, 2018 10:53
-
-
Save Liam0205/3805d9e257a19fcb3b4f62126c3d20bb to your computer and use it in GitHub Desktop.
Compile and Install Git on CentOS 7
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
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