标签:rem ln -s text war etc sci 依赖 解压缩 git
yum remove git
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc
yum install gcc perl-ExtUtils-MakeMaker
cd /usr/local/src/
wget https://www.kernel.org/pub/software/scm/git/git-2.23.0.tar.xz
tar -vxf git-2.23.0.tar.xz
cd git-2.23.0
make prefix=/usr/local/git all
make prefix=/usr/local/git install
echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/profile
source /etc/profile
ln -s /usr/local/git/bin/git /usr/bin/git -f
标签:rem ln -s text war etc sci 依赖 解压缩 git
原文地址:https://www.cnblogs.com/argozhang/p/14878836.html