安装依赖包
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
时间: 2024-10-19 14:25:40