Installing git from source ubuntu

May 14, 2009

When you have an old version of ubuntu but want a new version of git. And potentially have it already installed.

sudo apt-get update
sudo apt-get remove git-core
sudo apt-get install tcl8.4 tk8.4
sudo apt-get build-dep git-core

tar -zxvf git-
cd git-
sudo make install

sudo ln -s /usr/local/bin/git /usr/bin/git