Archive for the ‘git’ Category

Install git on Ubuntu 9.04 (Jaunty)

Monday, June 22nd, 2009

Installing git using

sudo apt-get install git

I noticed that it was only version 1.6.04.

So thanks to Peter Vandenabeele for posting how he installed git – I had to make a few adjustments:

$ 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 -xvzf git-1.6.3.3.tar.gz
$ cd git-1.6.3.3/
$ make prefix=/usr all doc
$ sudo make prefix=/usr install install-doc
$ git --version
git version 1.6.3.3

I used "prefix=/usr" because version 1.6.0.4 wasn't removed after I did a "sudo apt-get remove git".