码迷,mamicode.com
首页 > 其他好文 > 详细

Git Installation

时间:2016-04-13 21:06:02      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:git

1) Install Dependencies


    sudo yum install yum install curl-devel expat-devel gettext-devel   openssl-devel zlib-devel xmlto texinfo

    

    # asciidoc

    wget http://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fasciidoc%2F&ts=1460516543&use_mirror=iweb

    unzip asciidoc-8.6.9.zip

    cd asciidoc-8.6.9

    ./configure --prefix=/webapp/marlonm/asciidoc

    make install


    # docbook2X

    sudo cpan XML::SAX

    wget http://downloads.sourceforge.net/project/docbook2x/docbook2x/0.8.8/docbook2X-0.8.8.tar.gz?r=http%3A%2F%2Fdocbook2x.sourceforge.net%2F&ts=1460518049&use_mirror=liquidtelecom

    tar xf docbook2X-0.8.8.tar.gz

    cd docbook2X-0.8.8

    ./configure --prefix=/webapp/marlonm/docbook2X

    make

    make install 

    cd /webapp/marlonm/docbook2X/bin/

    ln -s docbook2texi docbook2x-texi


2) Install git


    wget https://www.kernel.org/pub/software/scm/git/git-2.8.1.tar.xz

    tar xf git-2.8.1.tar.xz

    cd git-2.8.1

    make configure

    ./configure --prefix=/webapp/marlonm/git

   make all doc info

   make install install-doc install-html install-info

本文出自 “7773725” 博客,请务必保留此出处http://7783725.blog.51cto.com/7773725/1763411

Git Installation

标签:git

原文地址:http://7783725.blog.51cto.com/7773725/1763411

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!