LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Maybe a stupid question... (https://www.linuxquestions.org/questions/linux-general-1/maybe-a-stupid-question-146608/)

Braveheart1980 02-16-2004 01:23 AM

Maybe a stupid question...
 
This may be a very stupid question but here it goes :

Lets say i download a tarball of an application from the internet(for example lets say xxxx.tar.gz).I extract it on a folder (for instance /home/user/xxx ) cd to the xxx directory and then do the usual : ./configure , make , make install (as su the last one).
Can i delete then the xxx directory and still be able to use the xxx application?
How do i uninstall the application?

x00m 02-16-2004 01:35 AM

Usually you can uninstall the application with command "make uninstall".

Tinkster 02-16-2004 01:37 AM

Yes, you can delete the source directory
and still use the application. Uninstalling
without the Makefile (some Makefile's
provide uninstalling) is a bit trickier.

You could, however, start using checkinstall
for the last step (drop-in replacment for
"make install") which will then create a
slack tarball, a debian pkg or an rpm for
you (makes uninstalling much easier).

http://checkinstall.izto.org


Cheers,
Tink

Braveheart1980 02-16-2004 01:52 AM

Check install sounds nice! I have mandrake 9.2 can i use it?

Braveheart1980 02-16-2004 01:55 AM

A!So i can delete a source folder and still use the application. If i delete everything in the folder except for the makefile can i then uninstall the application with " make uninstall " ??

Tinkster 02-16-2004 01:56 AM

Quote:

Check install sounds nice! I have mandrake 9.2 can i use it?
I don't know, I've got Slack, and it works well
for me :}


Cheers,
Tink

Tinkster 02-16-2004 01:58 AM

Quote:

Originally posted by Braveheart1980
A!So i can delete a source folder and still use the application. If i delete everything in the folder except for the makefile can i then uninstall the application with " make uninstall " ??
Not necessarily ... there may dependent Makefiles
in subdirectories. That's why I said it's a bit trickier!


Cheers,
Tink

Braveheart1980 02-16-2004 02:00 AM

Just checked the readme file and it says it supports mandrake 9.2

As for my other question :

So i can delete a source folder and still use the application. If i delete everything in the folder except for the makefile can i then uninstall the application with " make uninstall " ??

Any help??

Tinkster 02-16-2004 02:02 AM

Scroll up a bit, and start editing your posts,
rather than firing 5 consecutive ones in 10
minutes ;)


Cheers,
Tink

Braveheart1980 02-16-2004 02:19 AM

OOooooooooooooops! U'r right Tinkster! Sorry && thanx!


All times are GMT -5. The time now is 03:03 PM.