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!

One response to “Installing Git from source on Debian Lenny”

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

    Like

Leave a comment

Trending