Skip to content

Commit 29a5bea

Browse files
committed
Fix issue #579: Need autotools for installing git from source
1 parent f3531c7 commit 29a5bea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/01-introduction/sections/installing.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ You can download this from the GitHub for Windows website, at http://windows.git
6767
Some people may instead find it useful to install Git from source, because you'll get the most recent version.
6868
The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.
6969

70-
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.
70+
If you do want to install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib, openssl, expat, and libiconv.
7171
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:
7272

7373
[source,console]
7474
----
75-
$ sudo yum install curl-devel expat-devel gettext-devel \
75+
$ sudo yum install dh-autoreconf curl-devel expat-devel gettext-devel \
7676
openssl-devel perl-devel zlib-devel
77-
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
78-
libz-dev libssl-dev
77+
$ sudo apt-get install dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \
78+
gettext libz-dev libssl-dev
7979
----
8080

8181
In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required (Note: users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F[enable the EPEL repository] to download the `docbook2X` package):

0 commit comments

Comments
 (0)