aptitude install build-essential gettext wget http://kernel.org/pub/software/scm/git/git-1.6.0.1.tar.gz tar xvzf git-1.6.0.1.tar.gz cd git-1.6.0.1 ./configure make make install
aptitude install build-essential gettext wget http://kernel.org/pub/software/scm/git/git-1.6.0.1.tar.gz tar xvzf git-1.6.0.1.tar.gz cd git-1.6.0.1 ./configure make make install
9 Comments
Tom
17.10.2008 14:05
Sometimes it just takes something simple like this showing the deps to make someone’s life a little easier. Thank you.
Jeremy Chatfield
30.10.2008 10:04
git is now up to version 1.6.0.3. Also, I needed zlib1g-dev to complete compilation. I ended up with:
Mathias
30.10.2008 21:40
Thanks for the info Jeremy
mafro
16.02.2009 12:16
I found that running the following command installed all the relevant dependencies for me to get git up and running on Debian Lenny:
aptitude build-dep git-core
venlix
16.06.2009 23:11
On a fresh Debian system I also needed to install the “zlibg1-dev” package.
Mathias
19.06.2009 17:32
Thanks
utyf
25.11.2009 21:11
Use checkinstall on Debian instead of “make install”, it’s better
Mathias
25.11.2009 22:26
I rarely build software from source thanks to apt, but checkinstall looks nice indeed, thanks for the info
elmar
30.11.2009 17:03
Thanx a bunch!
why does it need this line: aptitude install build-essential gettext
I checked the man page of gettext. it is not really obvious to me, why this is used to build git. Any how, like this it worked.
So long, E