Information Technology Reference
In-Depth Information
# for Ubuntu
$ sudo apt-get install git
# for Fedora
$ sudo yum install git
How It Works
The easiest way to install git on Linux is to use the available packages. If you want to
compile and install git using its source follow the procedure described in Recipe 11-3.
To verify that the installation was successful, you can run the command:
$ git --version
It should print the version of git installed on your system.
1-3. Installing git on OS X
Problem
You want to install git on OS X.
Solution
Visit the http://code.google.com/p/git-osx-installer/ site and
download the most recent available version of git. Run the downloaded installer leav-
ing all options set to the default values.
How It Works
The easiest way of installing git on OS X is to use the graphical installer. To verify that
the installation was successful, you can run the command:
$ git --version
Search WWH ::




Custom Search