RSS Feed

Installing git on Ubuntu 9.04 (Jaunty)

Posted on Tuesday, July 14, 2009 in Technology

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

Bring on the comments

  1. joe says:

    Thanks for the instructions. I had to run configure before make.

  2. Piyush says:

    Thanks dude :) good one

  3. Bruce says:

    Thanks, this made this easy.

  4. Dustin says:

    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

  5. Aasim says:

    Thank you, worked perfectly well for me

  6. Pablo says:

    Thanks, it worked fine for me.

Leave a Reply