CentOS 安装git

yum里没有git,所以只好编译安装,在网上发现一个下载git的好地址:http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz

最新版本的git 。。

#wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
#tar -zxvf git-latest.tar.gz
#cd git......
#./configure
#make
#make install

.....为解压出来的目录

 

 

posted @ 2012-07-06 11:33  Leo Forest  阅读(169)  评论(0编辑  收藏  举报