Centos下安装源码git
通过yum安装git
yum install git
通过源码安装git---未测试(稍后测试,先记录)
依赖包
curl-devel
expat-devel
gettext-devel
openssl-devel
zlib-devel
asciidoc
xmlto
docbook2x
好多依赖包,依照我的个性,yum install *
下载源码
git-2.10.0.tar.gz
解压安装
tar -zxvf git-2.10.0.tar.gz
cd git-2.10.0
./configure --prefix=/usr
make all doc info
make install install-doc install-html install-info
|