CENTOS的GIT安装及使用

//先安装git依赖的包

yuminstall zlib-devel

yuminstall openssl-devel

yuminstall perl

yuminstall cpio

yuminstall expat-devel

yuminstall gettext-devel

//安装autoconf

yuminstall autoconf

//安装git

wgethttp://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz

tarxzvf git-latest.tar.gz

cdgit-{date}

autoconf

./configure–with-curl=/usr/local

make

make install

点赞