centos上git的安装

//下载最新的git源码
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
//解压git-latest.tar.gz
tar -zxvf git-latest.tar.gz
//yum 安装autoconf
yum install autoconf
//执行antoconf
autoconf
./configure
make
make install

你可能感兴趣的:(centos,安装,Install,git,yum)