标签:git安装
安装依赖
yum -y install perl-ExtUtils-MakeMaker tcl libcurl-devel curl-devel expat-devel yum-y install gettext-devel openssl-devel zlib-devel libcurl4-openssl-dev xmlto yum -y install asciidoc docbook2X openjade texinfo perl-XML-SAX nss curl
cd /usr/bin
ln -s db2x_docbook2texi docbook2x-texi
2. 编译安装git
下载git源码包 https://mirrors.edge.kernel.org/pub/software/scm/git/
./configure make all doc info make install install-doc install-html install-info
3.加入环境变量
export PATH=$PATH:/usr/local/libexec/git-core
标签:git安装
原文地址:http://blog.51cto.com/zengestudy/2102965