Fwd: installing git from sources
- From
Massimo Manca <massimo.manca@micronengineering.it>
- Date
- Jul 11, 2011, 16:36 UTC
- Message-ID
- <4E1B26A7.8030404@micronengineering.it>
-------- Messaggio originale -------- Oggetto: installing git from sources Data: Mon, 11 Jul 2011 18:34:21 +0200 Mittente: Massimo Manca <massimo.manca@micronengineering.it> Organizzazione: Micron Engineering A: git@vger.kernel.org
Due that for ubuntu 10 last packed git is 1.7.0 release I installed git in linux from sources in this way:
wget .../git-1.7.6.tar.gz (incomplete web address but I download correctly)
apt-get build-dep git-core tar -zxvf git-1.7.6.tar.gz cd git-1.7.6.tar.gz ./configure |make prefix=/usr/local all sudo make prefix=/usr/local install|
all these command executed from my user maggiordomo (it is the user that could be used for sudo)
the problem is that to execute git I need sudo permissions:
git --version doesn't work sudo git --version works.
1. What I did wrong? 2. If I make some mistakes installing from sources normally I use sudo make uninstall (from source directory) and I can remove the application. With git this simple doesn't work. What have I to search and to remove other then the source directory (that has also .o .sh and executables)?
begin:vcard fn:Massimo Manca n:Manca;Massimo org:Micron Engineering di Massimo Manca adr:;;via della Ferriera, 48;Pordenone;PN;33170;ITALIA email;internet:massimo.manca@micronengineering.it tel;work:+39 0434 1856131 tel;fax:+39 0434 1851032 / 178 273 3543 tel;cell:+39 349 4504979 url:http://www.micronengineering.it version:2.1 end:vcard