美文网首页
centos git升级版本

centos git升级版本

作者: AnubisAwooo | 来源:发表于2018-03-18 08:57 被阅读0次
    yum -y remove git
    yum -y install perl cpio curl curl-devel zlib-devel openssl-devel expat-devel 
    yum -y install gettex-devel perl-devel build-essential tcl8.4 tk8.4 gettext 
    yum -y install wget
    wget https://github.com/git/git/archive/v2.16.2.tar.gz
    tar -zvxf v2.16.2.tar.gz 
    cd git-2.16.2/
    make configure
    ./configure --prefix=/usr/local/git
    make && make install
    ln /usr/local/git/bin/git /usr/bin/
    git version
    

    相关文章

      网友评论

          本文标题:centos git升级版本

          本文链接:https://www.haomeiwen.com/subject/ausdqftx.html