运维系列:centos 7.4 升级/安装 git 2.9.5
centos 7.4 升级/安装 git 2.9.5
centos 7.4 升级/安装 git 2.9.5
1、安装所需软件包
# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
# yum install gcc perl-ExtUtils-MakeMaker
2、下载&安装
# cd /usr/src
# wget https://www.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz
# tar xzf git-2.9.5.tar.gz
# cd git-2.9.5
# make prefix=