028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

git安装编译安装

一、安装依赖
yum update -y  #可以不做
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker

wget https://github.com/git/git/archive/v2.7.4.zip
unzip v2.7.4.zip
cd git-2.7.4

make prefix=/usr/local/git all
make prefix=/usr/local/git install
rm -rf /usr/bin/git
ln -s /usr/local/git/bin/git /usr/bin/git
git --version

[root@192 git-2.7.4]# git  --version 
git version 2.7.4
[root@192 git-2.7.4]# which   git 
/usr/bin/git
[root@192 git-2.7.4]# 

git所要的文件在自己百度云的tmp目录下

网页题目:git安装编译安装
文章地址:http://www.tsicrk.com/article/pihcgj.html

其他资讯

让你的专属顾问为你服务

2.0798s