Installing the dependency pack 1.yum-y install zlib-devel openssl-devel perl cpio expat-devel gettext-devel2.yum install autoconf3. Download git http://Codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz4. chmod +x git-1.8.3.2. tar.gz5. Tar xzvf git-1.8.3.2. tar.gz Decompression6. CD git-1.8.3.2Go to Catalog7. autoconf appears undefined no words can be installed using Yum install autoconf8./configure--prefix=/usr/tooks/Gittool setting up the installation directory9. makeTen. Make Install One. Git--version to see if the installation is good? Note:1. Configure:error:no acceptable C compiler found appearsinchThe $PATH is that no C language compiler is installed in the machine and can be installed with the Gcc:yum install GCC command2If you want to modify the installation location, you can start directly from the 8 operation.
How to install Git on CentOS