安装依赖

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-devel -y

Git安装

wget https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.gz
tar zxvf git-2.5.0.tar.gz
cd git-2.5.0
./configure --prefix=/usr/local/git
make && make install
ln -s /usr/local/git/bin/* /usr/bin/
git --version

 

相关文章:

  • 2022-01-05
  • 2022-01-15
  • 2021-08-14
  • 2021-12-22
  • 2021-11-04
  • 2021-04-01
  • 2021-11-09
  • 2021-04-08
猜你喜欢
  • 2021-11-27
  • 2022-12-23
  • 2021-06-12
  • 2021-09-29
  • 2022-12-23
  • 2021-05-08
相关资源
相似解决方案