在CentOS 5上安装Git

yum install -y zlib-devel openssl-devel expat-devel gettext-devel cur-devel
yum install -y perl cpio curl
wget -c http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-{date}
autoconf
./configure --with-curl=/usr/local
make
make install

添加新评论 »