You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/01-introduction/sections/installing.asc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,11 @@ Since Git is quite excellent at preserving backwards compatibility, any version
15
15
16
16
(((Linux, installing)))
17
17
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:
19
19
20
20
[source,console]
21
21
----
22
-
$ sudo yum install git-all
22
+
$ sudo dnf install git-all
23
23
----
24
24
25
25
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
71
71
The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.
72
72
73
73
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:
0 commit comments