centos7 git 2.9.5安装-配置

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010652906/article/details/78685528

1.下载官方tar2.8git安装包

wget https://www.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz

2.安装依赖包

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker

3.执行安装操作

$ tar -zxvf git-2.9.5.tar.gz
$ cd git-2.9.5
$ make prefix=/opt/git all
$ sudo make prefix=/opt/git install
阅读更多
换一批

没有更多推荐了,返回首页