LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2004, 01:58 AM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
/usr/bin and uninstalling programs


I dunno if this has been asked before, or if this is the biggest noob question, but when i install stuff, and say three month down the line i wanna uninstall, how would i manage to do that? and how do i find out what files are linked to each other? so i can delete?

Thanks
 
Old 08-31-2004, 02:02 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Usually you use a package management tool, such as RPM, to do it for you.
 
Old 08-31-2004, 02:07 AM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
sorry, i mean stuff like tar ball, not packages like RPM..?
 
Old 08-31-2004, 06:12 PM   #4
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
If you have the source then:
Code:
./configure
make uninstall
This works if there is uninstall target Makefile script.
If not, this is how I do it.
Code:
./configure
make
su
touch reference
make install
find / -newer reference > uninstall.txt
chown user:user uninstall.txt
Then edit uninstall.txt in your favorite text editor to remove files not belonging to the software you want to uninstall.

Be very carefull!!!

After that:
Code:
cat uninstall.txt | xargs rm -Rf
and files will be removed.

I couldn't think of any other way...
 
  


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
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 11:57 AM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 11:42 PM
list of programs in /usr/bin, /sbin, etc. punt Linux - General 1 07-31-2001 05:19 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration