Skip to content

Commit d4576a3

Browse files
authored
Update installing on Linux
Change `apt-get` to `apt`. Minor language fixes.
1 parent 40ef9f0 commit d4576a3

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
@@ -14,22 +14,22 @@ Since Git is quite excellent at preserving backwards compatibility, any version
1414
==== Installing on Linux
1515

1616
(((Linux, installing)))
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 (or any closely-related RPM-based distro such as RHEL or CentOS), you can use `dnf`:
17+
If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the package management tool that comes with your distribution.
18+
If you're on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use `dnf`:
1919

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

25-
If you're on a Debian-based distribution like Ubuntu, try `apt-get`:
25+
If you're on a Debian-based distribution, such as Ubuntu, try `apt`:
2626

2727
[source,console]
2828
----
29-
$ sudo apt-get install git-all
29+
$ sudo apt install git-all
3030
----
3131

32-
For more options, there are instructions for installing on several different Unix flavors on the Git website, at http://git-scm.com/download/linux[].
32+
For more options, there are instructions for installing on several different Unix distributions on the Git website, at http://git-scm.com/download/linux[].
3333

3434
==== Installing on Mac
3535

0 commit comments

Comments
 (0)