update Git on old Ubuntu version, like ubuntu 9.10
1. The first thing to do is to install all dependencies.
Install required packages:
1.
sudo
apt-get
install
libcurl4-gnutls-dev libexpat1-dev libssl-dev gettext libz-dev asciidoc
2. Download git 1.8 and install as follows:
wget git-core.googlecode.com/files/git-1.8.1.1.tar.gz
tar -zxf git-1.8.1.1.tar.gz
cd git-1.8.1.1
make prefix=/usr/local all
sudo make prefix=/usr/local install
That's it.
Post a Comment