Skip to content

Commit 4422044

Browse files
committed
Merge pull request progit#233 from austerus/master
Installing Git: asciidoc, docbook2x & xmlto progit#227
2 parents 3be3456 + c2c8c28 commit 4422044

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

book/01-introduction/sections/installing.asc

+7-1
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,20 @@ Some people may instead find it useful to install Git from source, because you'l
6161
The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.
6262

6363
If you do want to install Git from source, you need to have the following libraries that Git depends on: curl, zlib, openssl, expat, and libiconv.
64-
For example, if you're on a system that has yum (such as Fedora) or apt-get (such as a Debian based system), you can use one of these commands to install all of the dependencies:
64+
For example, if you're on a system that has yum (such as Fedora) or apt-get (such as a Debian based system), you can use one of these commands to install the minimal dependencies for compiling and installing the Git binaries:
6565

6666
$ yum install curl-devel expat-devel gettext-devel \
6767
openssl-devel zlib-devel
6868

6969
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
7070
libz-dev libssl-dev
7171

72+
In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required:
73+
74+
$ yum install asciidoc xmlto docbook2x
75+
76+
$ apt-get install asciidoc xmlto docbook2x
77+
7278
When you have all the necessary dependencies, you can go ahead and grab the latest tagged release tarball from several places.
7379
You can get it via the Kernel.org site, at https://www.kernel.org/pub/software/scm/git[], or the mirror on the GitHub web site, at https://github.com/git/git/releases[].
7480
It's generally a little clearer what the latest version is on the GitHub page, but the kernel.org page also has release signatures if you want to verify your download.

0 commit comments

Comments
 (0)