Skip directly to content

How to install Git from source on Ubuntu

on Fri, 2009-01-16 15:14

UPDATE: There is an easier and better way to do this. See How to install the most current stable version of Git on Ubuntu.

This mini-HOWTO explains how to install Git from source on Ubuntu. Git is a free Version Control System (VCS) which is distributed.

How to install Git on Ubuntu:

  1. sudo apt-get build-dep git-core git-doc
  2. Download the latest stable release of Git from its web site http://git-scm.com/.
  3. Unpack the downloaded archive file.
  4. Go into the unpacked folder.
  5. ./configure
  6. make prefix=/usr/local all doc
  7. sudo make install install-doc
  8. Remove the unpacked folder.

You are now ready to use Git.

Post new comment