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