zoukankan      html  css  js  c++  java
  • Centos 安装git

    1.下载源码包wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.22.0.tar.gz
    2.解压后
    make configure
    出现问题执行:
    yum install autoconf
    yum install zlib
    yum install zlib-devel

    ./configure --prefix=/opt/module/git

    make all doc

    出现 asciidoc: command not found
    wget https://jaist.dl.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.zip
    解压后执行
    ./configure
    make
    make install

    出现xmlto: command not found
    wget https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2
    解压后执行
    ./configure
    make
    make install

    出现failed to load external entity
    yum -y install docbook-style-xsl


    make install install-doc install-html

    ln -s /opt/module/git /usr/local/bin

    git --version

  • 相关阅读:
    promise!
    123
    git回忆回忆回忆
    Vue基本指令
    vue小案例(跑马灯)
    mvc
    nodejs中path模块
    web服务端重定向
    弹性布局
    导出数据库的表的所有字段类型,长度,名称
  • 原文地址:https://www.cnblogs.com/tele-share/p/11535243.html
Copyright © 2011-2022 走看看