首页 > 代码库 > centos7.3 编译安装 git 2.13

centos7.3 编译安装 git 2.13

安装依赖包
sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-devel

 

安装

$ tar -zxf git-2.8.0.tar.gz
  $ cd git-2.8.0
  $ make configure
  $ ./configure --prefix=/usr/local
  $ make all doc info
  $ sudo make install install-doc install-html install-info

centos7.3 编译安装 git 2.13