Git最新版安装
Posted hacker1394
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git最新版安装相关的知识,希望对你有一定的参考价值。
安装准备
yum -y install gcc zlib-devel openssl-devel perl cpio expat-devel gettext-devel openssl zlib curl autoconf tk curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker package gettext-devel asciidoc xmlto
下载地址:http://git-scm.com/download
tar zxvf git-2.7.0.tar.gz
cd git-2.7.0
make prefix=/data/apps/git all doc
make prefix=/data/apps/git install install-doc
./configure --prefix=/data/apps/git
make
make install
#Set Git
export PATH=/data/apps/git/bin:$PATH
以上是关于Git最新版安装的主要内容,如果未能解决你的问题,请参考以下文章