centos 6&7安装最新版git

前端之家收集整理的这篇文章主要介绍了centos 6&7安装最新版git前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

step 1

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

step 2

tar -xzf git-2.14.2.tar.gz

step 3 install dependenty

yum install gettext
yum install curl-devel
yum install perl-devel
yum install zlib-devel

step 4 compile

cd git-2.14.2 & ./configure & make && make install

原文链接:https://www.f2er.com/centos/375507.html

猜你在找的CentOS相关文章