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.






0 comments

Popular Posts

无觅相关文章插件,迅速提升网站流量