Thursday, April 29, 2010

Installing git on Ubuntu

after several days wondering how to upgrade git on ubuntu (to test Chromium OS) this is my solution.


$ sudo apt-get build-dep git-core git-doc
$ wget http://kernel.org/pub/software/scm/git/git-1.7.0.6.tar.bz2
$ tar -xvjf git-1.7.0.6.tar.bz2
$ cd git-1.7.0.6/
$ make prefix=/usr/local all doc
$ sudo make prefix=/usr/local install install-doc
$ which git
/usr/local/bin/git
$ git --version
git version 1.7.0.6

doc is optional.
now i proceed to chromium install :)
Related Posts Plugin for WordPress, Blogger...