LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2005, 06:37 AM   #1
Volcano
Member
 
Registered: Sep 2005
Posts: 172

Rep: Reputation: 15
Uninstall


How to uninstall any software in linux ?

I work in windows . in windows i follow the steps

1. start>control panel>add/remove program

2. Then i get the graphical interface and choose the program to uninstall.


How do i do the same in RED HAT 9 linux ?

please tell me some easy steps

I am a newbie in linux.

Thank you
 
Old 09-03-2005, 07:34 AM   #2
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi Volcano,

Welcome to L.Q.

In RedHat Based systems you have the RPM (RPM Package Manager) that lets you manage the packages you have installed.

Open up a terminal and type : rpm -qa
This should give you a list of rpm packages you have installed.
If want to see if any particular package is installed on you system type : rpm -qa | grep <package name>


On any system packages can be installed/uninstalled in many ways :

1) Packages can be installed by source.
2) Packages can be installed by an installer file (.run, .bin, .sh)
3) Packages can be installed using the native package manager for the distro (which in case of RedHat is RPM)

In the first two cases package management may not be that easy if you are not used to it. For removing the package you would have to remove all the files manually.

For the third case however the distro provides the package management tool.

If you want to remove any rpm package, open up a terminal and as root type :

Code:
koodoo@knapsacker:~$ rpm -e <package name without the .rpm extension>
Type man rpm to learn about RPM, also google the same.

Post what package you wish to uninstall. Be more specific i.e. how did you install it (i.e. from source, from rpm, etc)

Hope this helps.

Last edited by koodoo; 09-03-2005 at 07:37 AM.
 
Old 09-03-2005, 07:46 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally posted by koodoo

In the first two cases package management may not be that easy if you are not used to it. For removing the package you would have to remove all the files manually.

Hello koodoo,
First of all have a look at this

Now as you said that "for removing the package you would have to remove all the files manually", so does it means that if i do
Code:
root:~#locate shorewall
it shows hundreds of files.......will i have to delete that particular directories manually..???

regards

Edit: i'm talking about "tar" sources and not concerned about particular distro.
 
Old 09-03-2005, 10:22 AM   #4
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hey, I always thought that removing files installed from source was a pretty unclean buissness.
But after looking at that thread it seems that it might not be that difficult. I'll have to try it out, coz I must admit, I never unistalled a package installed from source (never had the need too)

Thanks for the link, it was quite an informative thread.

But then again, not every package would include the "uninstall" target. (Unless of course, you were smart enough to write one for yourself )

Anyways, thanks again for the link.
 
  


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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 12:57 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 10:13 AM
How can I uninstall The Patbon Mandriva 6 11-28-2004 08:03 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 12:03 PM
Uninstall without make uninstall zynor Linux - Software 3 08-23-2003 11:00 PM


All times are GMT -5. The time now is 08:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration