9 yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel cd /usr/local/src wget http://kernel.org/pub/software/scm/git/git-1.7.5.tar.gz tar xzvf git-1.7.5.tar.gz cd git-1.7.5 make prefix=/usr/local all make prefix=/usr/local install — slhck source
4 百胜安装git-core 没有匹配的参数:git-core 2 您需要添加存储库,方法如下:wiki.centos.org/AdditionalResources/Repositories/RPMForge
0 我在Webtatic存储库中为git 1.7提供了RPM,因为kernel.org RPM与CentOS的旧rpm安装程序不兼容。 http://www.webtatic.com/blog/2009/09/git-on-centos-5/ — 安迪 source