LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2003, 02:00 AM   #1
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Rep: Reputation: 15
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
 
Old 12-10-2003, 02:17 AM   #2
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
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
 
Old 12-10-2003, 02:18 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 12-10-2003, 02:48 AM   #4
timberwolf
Member
 
Registered: Dec 2003
Location: Singapore
Distribution: Mandrake 9.2
Posts: 128

Original Poster
Rep: Reputation: 15
ok... thanks a lot
 
Old 12-10-2003, 03:05 AM   #5
OrphanedLand
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware
Posts: 26

Rep: Reputation: 15
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove/uninstall compiled sofware? brynjarh Linux - Software 7 05-29-2009 02:18 AM
How do you uninstall compiled software packages? meh1 Linux - Newbie 3 02-11-2005 10:52 AM
uninstall apache 1.3 that was compiled from source? rgiggs Slackware 5 11-15-2004 03:48 AM
how to uninstall source tarball packages ? xround Linux - Software 2 10-20-2004 09:18 AM
How to Uninstall Python2.3 wich was compiled frm source? Electronkz Linux - Software 1 04-27-2004 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration