LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-27-2003, 11:33 AM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Uninstalling


Hi all,

If were to install a package via RPM, I could use KDE Package manager to unintall it. But what about if I have a source file. From what I understand, the 'make install' command puts files in their appropriate place and make the needed sym links. Say I want to uninstall this program, do I have to search my HDD for the files, or is the a command to use.

Thanks,

Erik
 
Old 02-27-2003, 11:46 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Two possibilities that I know of:

1. The source may provide an uninstall option. To use it, you'd go to the source directory and type "make uninstall". Note, the source might not refer to it as "uninstall". If make complains that there's not such target, then the developers either did not supply an uninstall target or named it something other than "uninstall". Read the documentation that came with the source to find out (README, INSTALL, etc.)

2. If you still can't find the answer, then you'll have to backtrack from the Makefile itself. You'll need to know how a makefile is organized, or it'll look like a jumbled mess. Find the rule in the makefile for the "install" target. Then simply do the inverse of the commands they specify. If they do a "cp file /to/another/dir", then you do an "rm /to/another/dir/file".
 
Old 02-27-2003, 11:58 AM   #3
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Or you search with

(as root):
find / -name "Appyouwanuninstall"

(as user):
slocate "Appyouwantuninstall"
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling...anything, really. Hal Linux - Newbie 4 11-17-2003 06:08 PM
uninstalling rh 9 term789 Linux - Newbie 5 09-28-2003 07:15 AM
uninstalling help Sisterluck General 6 09-24-2003 09:44 PM
Uninstalling something? trout21 Linux - Newbie 5 07-04-2003 03:21 AM
Uninstalling EchO Linux - Newbie 2 01-16-2002 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:35 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