Wednesday, June 10, 2009

Installing Git from source on Debian Lenny

I tend to use the most current release of Git, and had to install it on a new Lenny server today.

These are the steps required to do so:
  1. wget http://kernel.org/pub/software/scm/git/git-1.6.3.2.tar.gz
  2. tar -xzvf git-1.6.3.2.tar.gz
  3. cd git-1.6.3.2.tar.gz
  4. sudo apt-get install build-essential linux-headers-`uname -r` libssl-dev curl libcurl4-openssl-dev libexpat1-dev tcl
  5. make prefix=/usr/local/ all
  6. make prefix=/usr/local/ install
Done!

1 comment:

Christoph Jahn said...

Worked like a charm and saved me a lot of time. Thanks!