Git Installation

From Qt Wiki
Revision as of 15:35, 14 January 2015 by Maintenance script (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

English | Български

Git Installation

Git on Mac OS X

On Mac OS X, you can get Git using MacPorts [] . After installing MacPorts, do:

Note that this also adds another ssh into your path. You can safely remove
/opt/local/bin/scp /opt/local/bin/sftp
(especially if you want to use Leopard’s built-in ssh-agent).

Git on Windows

For Windows there exists a convenient installer as part of the Git for Windows project []

NOTE: When the installer presents you with the option of how to put Git into your PATH choose the third option of putting Git and all its tools into your path!

Git on Linux

All major Linux distributions offer up-to-date packages of Git. Use your distribution specific package manager to install Git. Note that on Debian based distributions the Git package is actually called

Building Git from Source

Git is easy to build from source. Just download the latest release from [], unpack the sources, run
followed by
followed by
make install
. This will install it locally into your home directory, the binaries end up in
. Dependency list (Kubuntu 8.4):
libzlcore-dev libssl-dev libcurl4-openssl-dev libexpat1-dev tclx8.3 asciidoc