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
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,12 @@ This book was written using Git version *2.0.0*. Though most of the commands we
15
15
If you want to install Git on Linux via a binary installer, you can generally do so through the basic package-management tool that comes with your distribution.
16
16
If you're on Fedora for example, you can use yum:
17
17
18
+
[source,console]
18
19
$ sudo yum install git
19
20
20
21
If you're on a Debian-based distribution like Ubuntu, try apt-get:
21
22
23
+
[source,console]
22
24
$ sudo apt-get install git
23
25
24
26
For more options, there are instructions for installing on several different Unix flavors on the Git website, at http://git-scm.com/download/linux[].
@@ -63,16 +65,16 @@ The binary installers tend to be a bit behind, though as Git has matured in rece
63
65
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.
64
66
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:
0 commit comments