CENTOS的GIT安装及使用

来源:互联网 发布:网络攻击实时 编辑:程序博客网 时间:2024/06/07 05:51
//先安装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
原创粉丝点击