LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-2002, 05:40 AM   #1
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Rep: Reputation: 30
uninstalling programs?


Hi,

I can use rpm and the 'software installer' to install programs alright. But how do i uninstall programs under linux?

thnx

you're not telling me to delete program files one by one ar u? lol
 
Old 02-27-2002, 05:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
delelting files individually is a stupid idea, and goes against the whole principle of rpm's. just use the the package manager to uninstall them. it's there if you look. alternatively just use "rpm -e packagename". again, these thigns ar covered easily in a book, and also DOZENS of times on this site. please search little before asking questions.
 
Old 02-27-2002, 07:21 AM   #3
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Man thnx for your help, but can u be a little less mean?
 
Old 02-28-2002, 12:34 AM   #4
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Also, what if i used command 'make' and '/.configure' etc to install and compile the program? How would i uninstall it then since i'm not using any rpm stuff?

thnx
 
Old 02-28-2002, 01:48 AM   #5
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
generally speaking the following applies.

say i install a program called opera and now i want to uninstall it. to find out the exact name i would do the following

rpm -qa | grep opera

this will return something like this

opera-6.0-20011129.1

then i simply type
rpm -e opera-6.0-20011129.1

and it will remove opera.

as for source. go into the source directory and usually the coder will have written an uninstall script which can be run by typing

make uninstall

This will remove most of the files. there may be one or two unempty dirs to remove but it works pretty well.

also there are some programs available which monitor you system and when you install a program from source, they take note of exactly which files and dirs were added and can completely remove them.

i forget the names tho, try sourceforge
 
Old 02-28-2002, 02:12 AM   #6
nutshell
Member
 
Registered: Feb 2002
Distribution: Slackware 8.1
Posts: 244

Original Poster
Rep: Reputation: 30
Thnx

It's pretty rare that the coder doesn't include uninstall script right? Just curious...
 
  


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 programs speel Linux - Newbie 3 11-09-2004 03:47 PM
uninstalling programs fuelinux Linux - Newbie 9 10-31-2003 07:00 AM
Uninstalling programs alofatti Linux - Newbie 3 06-20-2003 09:50 PM
'Uninstalling' programs keymoo Linux - Newbie 3 01-02-2002 05:06 AM
uninstalling programs punt Linux - General 3 07-17-2001 06:52 PM

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

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