Install Git in CentOS

Source: Internet
Author: User
Tags xsl xslt

Install Git in CentOS

Install Git in CentOS

1.decompress git-master.zip to/opt/git-master

2. Open the $ IGIT_HOME/INSTALL file.

There are a few

$ Make configure; # as yourself
$./Configure -- prefix =/usr; # as yourself
$ Make all doc; # as yourself
# Make install-doc install-html; # as root

3. Follow the above steps

Make all doc

Episode 1

/Bin/sh: line 1: asciidoc: command not found
Make [1]: *** export git-add.html] Error 127
Make [1]: Leaving directory '/opt/git-master/documentation'
Make: *** [doc] Error 2

Missing asciidoc three-part installation asciidoc-8.6.9.tar.gz

Continue to make all doc

Episode 2

XSLTPROC user-manual.html
Http://docbook.sourceforge.net/release/#/current/html/docbook.xsl:1: parser error: Document is empty

^
Http://docbook.sourceforge.net/release/#/current/html/docbook.xsl:1: parser error: Start tag expected, '<' not found

^
Compilation error: file docbook. xsl line 3 element import
Xsl: import: unable to load http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
Make [1]: *** login user-manual.html] Error 5
Make [1]: Leaving directory '/opt/git-master/documentation'
Make: *** [doc] Error 2

XSLTPROC user-manual.html reports Error

I don't know anything in an instant.

By convention

Yum search extends tproc

[Root @ bogon git-master] # yum search extends tproc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Base: mirrors.btte.net
* Extras: mirrors.btte.net
* Updates: mirrors.163.com
==================================== Matched: required tproc ============================================
Libxslt. i386: Library providing the Gnome XSLT engine
Libxslt. x86_64: Library providing the Gnome XSLT engine

This is something that is quite familiar with decisive installation.

4. make install-html Installation

Install-doc

You can directly make all

5. Terminal

Git -- version

Linux git command parameters and Usage Details

Fedora downloads Git through Http Proxy

Install Git on Ubuntu Server

Create a Git repository on the server (Ubuntu)

Git simple tutorial in Linux (taking Android as an example)

Git authoritative guide PDF

Git details: click here
Git: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.