Skip to contentSkip to conversation

installing git from sources

DISCUSSION Massimo Manca 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

-------- Messaggio originale --------
Oggetto: installing git from sources
Data: Mon, 11 Jul 2011 18:34:21 +0200
Mittente: Massimo Manca <[email protected]>
Organizzazione: Micron Engineering
A: [email protected]

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:[email protected] 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