Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions book/01-introduction/sections/installing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Since Git is quite excellent at preserving backwards compatibility, any version

(((Linux, installing)))
If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the basic package-management tool that comes with your distribution.
If you're on Fedora for example, you can use yum:
If you're on Fedora for example, you can use dnf:

[source,console]
----
$ sudo yum install git-all
$ sudo dnf install git-all
----

If you're on a Debian-based distribution like Ubuntu, try apt-get:
Expand Down Expand Up @@ -71,11 +71,11 @@ Some people may instead find it useful to install Git from source, because you'l
The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.

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.
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:
For example, if you're on a system that has dnf (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:

[source,console]
----
$ sudo yum install dh-autoreconf curl-devel expat-devel gettext-devel \
$ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel \
openssl-devel perl-devel zlib-devel
$ sudo apt-get install dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \
gettext libz-dev libssl-dev
Expand All @@ -85,7 +85,7 @@ In order to be able to add the documentation in various formats (doc, html, info

[source,console]
----
$ sudo yum install asciidoc xmlto docbook2X getopt
$ sudo dnf install asciidoc xmlto docbook2X getopt
$ sudo apt-get install asciidoc xmlto docbook2x getopt
----

Expand Down