cblbrusvcm 发表于 2016-5-9 09:01:09

centos下git安装

  //先安装git依赖的包
yum install zlib-devel
yum install openssl-devel
yum install perl
yum install cpio
yum install expat-devel
yum install gettext-devel
  
  
  //安装autoconf
yum install autoconf

//安装git
wget 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
页: [1]
查看完整版本: centos下git安装