Installing git on Ubuntu 9.04 (Jaunty)

Last night I was working on a new ubuntu 9.04 server on ec2 (it was ami-0d729464 from http://alestic.com if you’re interested). Installing git via aptitude would have given me an older version so here’s what I did.

$ sudo apt-get build-dep git-core git-doc libssl-dev
$ wget http://kernel.org/pub/software/scm/git/git-1.6.3.3.tar.gz
$ tar -xzf git-1.6.3.3.tar.gz
$ cd git-1.6.3.3/
$ ./configure
$ make all doc
$ sudo make install install-doc
$ git --version
git version 1.6.3.3

11 thoughts on “Installing git on Ubuntu 9.04 (Jaunty)”

    1. Good catch, Joe. Thanks!

      I verified that I too had to run configure and I updated the instructions above.

  1. If you’re doing this on a headless box, w/o the GUI dev libs installed, add the following to your make commands

    EXTRA=’NO_TCLTK=YesPlease’
    ./configure
    make all doc ${EXTRA}
    sudo make install install-doc ${EXTRA}

    prevents it from dying on the missing GUI components

Comments are closed.