zobie's blog I create software, I like music, and I'm mildly(?) OCD.

14Jul/09

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
Tagged as: , , Comments Off
Comments (10) Trackbacks (1)
  1. Thanks for the instructions. I had to run configure before make.

    • Good catch, Joe. Thanks!

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

  2. Thanks dude 🙂 good one

  3. Thanks, this made this easy.

  4. 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. Thank you, worked perfectly well for me

  6. Thanks, it worked fine for me.

  7. worked like charm!. Thanks bud.

  8. worked like charm! thanks bud.