LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to uninstall application installed from source ? (https://www.linuxquestions.org/questions/linux-software-2/how-to-uninstall-application-installed-from-source-741353/)

teodor_b 07-20-2009 04:56 AM

how to uninstall application installed from source ?
 
Hi everyone !

When I install an application from source and I want to uninstall it I have to run 'make uninstall'. Which files I have to keep. Do I have to keep the whole source ? Is there some other way to remove the application ? The application is installed in different directories. ( /usr/bin /usr/lib .. and s.o.)

tanks :)

maniannam 07-20-2009 05:09 AM

"make clear" this command will help for uninstall.

Regards,
maniannam

colucix 07-20-2009 05:20 AM

Quote:

Originally Posted by maniannam (Post 3613627)
"make clear" this command will help for uninstall.

??? Absolutely not. Apart the fact that it is make clean (not clear), if you run make clean in the installation directory, then you can't uninstall it anymore, since the Makefile is deleted and there will be no "uninstall" target anywhere.

@teodor_b: you have to keep the whole installation directory. Another option is to manually delete the installed files and reverse back any step performed by make install. It is useful to save the output from make install. Usually I do that by
Code:

make install 2>&1 | tee install.log
to see the output in the terminal and redirect it to a file at the same time. Anyway, unless you are out of disk space, I suggest to keep the installation directory as is.

teodor_b 07-20-2009 05:31 AM

tanks for the help. :) I'll try your advises


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