Skip to content

Commit 6a3947f

Browse files
authored
changed yum to dnf across all the file examples
1 parent 1031e2c commit 6a3947f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

book/01-introduction/sections/installing.asc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Since Git is quite excellent at preserving backwards compatibility, any version
1515

1616
(((Linux, installing)))
1717
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.
18-
If you're on Fedora for example, you can use yum:
18+
If you're on Fedora for example, you can use dnf:
1919

2020
[source,console]
2121
----
22-
$ sudo yum install git-all
22+
$ sudo dnf install git-all
2323
----
2424

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

7373
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.
74-
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:
74+
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:
7575

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

8686
[source,console]
8787
----
88-
$ sudo yum install asciidoc xmlto docbook2X getopt
88+
$ sudo dnf install asciidoc xmlto docbook2X getopt
8989
$ sudo apt-get install asciidoc xmlto docbook2x getopt
9090
----
9191

0 commit comments

Comments
 (0)