转自

http://www.cnblogs.com/Neddy/archive/2011/02/28/1967548.html

 

注意安装的时候 都要以root身份

//先安装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

相关文章:

  • 2021-11-28
  • 2021-11-05
  • 2022-12-23
  • 2021-10-26
  • 2022-01-15
  • 2021-07-17
  • 2021-07-04
  • 2022-02-23
猜你喜欢
  • 2021-10-25
  • 2022-12-23
  • 2021-11-20
  • 2021-09-04
  • 2022-02-21
  • 2021-05-21
相关资源
相似解决方案