LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to uninstall programs from compiled from tarball? (https://www.linuxquestions.org/questions/linux-software-2/how-to-uninstall-programs-from-compiled-from-tarball-124470/)

timberwolf 12-10-2003 02:00 AM

How to uninstall programs from compiled from tarball?
 
Hi,

I need to uninstall some programs that i compiled from tarball, how do i do it? I know for rpm packages, i'll just need to type rpm -e filename . How do i do it for files compiled from tarball?

Thank you

-Aquila

vinay_s_s 12-10-2003 02:17 AM

If u still have the sources from where u did make install, then u can do make uninstall form the source directory to remove whatever u installed

Tinkster 12-10-2003 02:18 AM

May I direct your attention to the search-button
in the top right corner of your browser?

This is being asked and answered all the time.


Cheers,
Tink

timberwolf 12-10-2003 02:48 AM

ok... thanks a lot

OrphanedLand 12-10-2003 03:05 AM

Uninstall
 
Hello Penguin,

You can uninstall your tarball if there is uninstall script in the Makefile...

You can check it.

1. Open a terminal and go to source directory of the program. Then write:

vi Makefile.in

2. After open, check for the label about uninstall

For Example: some lines from Gaim's Makefile.in

**************************************************************
uninstall-appsDATA:
@$(NORMAL_UNINSTALL)
@list='$(apps_DATA)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(appsdir)/$$f"; \
rm -f $(DESTDIR)$(appsdir)/$$f; \
done
**************************************************************

if you see a line beginning "uninstall" or "deinstall", that means you can uninstall the program. Type this while in the source directory on terminal

make uninstall

so it will delete all installed files... Otherwise you must delete them manually. Most of tarballs uses /usr/local directory for install. You can delete manually the all file about this program in /usr/local

I hope this will help you...


All times are GMT -5. The time now is 09:37 AM.