1、下载包(自行百度)

2、安装git

# tar zxf git-2.9.3.tar.gz  -C /usr/local/
 
# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker -y
 
# cd /usr/local/git-2.9.3/
# ./configure  prefix=/usr/local/git
# make && make install
# tail /etc/profile
 
export PATH=$PATH:/usr/local/git/bin
# git --version
git version 2.9.3

 

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
猜你喜欢
  • 2022-01-04
  • 2021-10-24
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2021-07-12
  • 2021-11-19
相关资源
相似解决方案