CentOS6.6使用linux git官网最新安装包安装git-2.3.5

从linux官网找到想要安装的版本

https://www.kernel.org/pub/software/scm/git

下面是下载安装步骤

[root@skd Downloads]# wget https://www.kernel.org/pub/software/scm/git/git-2.3.5.tar.gz
[root@skd Downloads]# tag zxf git-2.3.5.tar.gz
[root@skd Downloads]# cd git-2.3.5
[root@skd git-2.3.5]# ./configure
[root@skd git-2.3.5]# make
[root@skd git-2.3.5]# make install
[root@skd git-2.3.5]# git --version
git version 2.3.5

你可能感兴趣的:(CentOS6.6使用linux git官网最新安装包安装git-2.3.5)