Tag Archives: install

How to install Git on Ubuntu Lucid (10.04)

I’m sure there are tons of blogs out there on the same subject. This is just like a reference for me and others out there who might stumble upon this post. Note that what I have documented here is what worked for me. At the time of writing the latest GIT version was 1.7.1

  1. First we install the dependent packages, thus you wont have to install the packages yourself.
  2. $ sudo aptitude build-dep git-core

  3. Download latest stable GIT release from here
  4. $ wget http://kernel.org/pub/software/scm/git/git-1.7.1.tar.gz

  5. Extract the archive and change to the extracted directory
  6. # tar xvzf git-1.7.1.tar.gz
    # cd git-1.7.1/

  7. Run the following
  8. $ ./configure
    $ make
    $ sudo make install

  9. Check installation and clean up
  10. $ git --version
    $ cd ../;rm -r git-1.7.1 git-1.7.1.tar.gz

Tagged , , , , ,