Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-01-2004, 03:11 AM   #1
Registered: Oct 2003
Location: Pakistan
Posts: 59

Rep: Reputation: 15
How to remove a program in linux?

Hii Everyone

I just bought a second hand HD and installed redhat linux 9 on it so as to learn this amazing OS and i'm picking fast.

I have a few questions

What commands should i use to remove a program completely from my Linux system like we have in the Windows OS under the remove install options in the control panel??

Secondly what commands should i use to check and maintain logs??

Thirdly how should i install,monitor and maintain a firewall??...which firewall is good...does linux have any built in firewall.what are the commands .i hear AFP firewalls are good...please direct me to proper resources..

Thank you

Old 03-01-2004, 04:10 AM   #2
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
1. type

man rpm

in a command prompt. This will show you how to add and remove rpm (redhat package management) installs. The problem is that there are a number of different ways to install programs onto your system which include ( rpm: from source: bin files: run files) etc etc. If you install these you will need to run the uninstall script that comes with the file. Sticking to rpm is the best option.

rpm -e thePackageName

will remove the rpm

rpm -Uvh thePackageName.rpm

will install the package.

Download synaptic as it is like the window Add/Remove programs in Windows.

2. go to "system tools" --> "system logs"

This will show you most of the important log files

Alternatively go to


most of them will be here.

3. When you installed the system there was an option to have a firewall, so yes there should be one by default. Don't know of any good ones though

Old 03-01-2004, 10:49 AM   #3
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
On the other hand if you compile somethng from source using the

make install

method then yoou need to come back to your source directory and type

make uninstal

to uninstall whatever was installed to your machine by the script...

Hope that helps...
Old 03-01-2004, 12:45 PM   #4
LQ Newbie
Registered: Feb 2004
Location: Montreal QC CA
Distribution: Slackware 10
Posts: 28

Rep: Reputation: 15
if u have files lying around when u compiled from source, that will happend and it's nothing to freak out on. Just clean em up as you go on if they really bother u.
Old 03-01-2004, 04:38 PM   #5
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
kpackage, and Red Carpet 2 are two good graphical package management utilities. RC2 is just for RPMs, but allows you to download packages and install packages, resolving depends issues, whereas kpackage only has this functionality for deb packages (as an apt-get front-end). Of course, if you have Debian then kpackage would be more useful. There's also distro-specific tools for handling packages, such as drakconf (Mandrake) and YaST (SuSE).


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 to remove installed program geminigal Linux - Newbie 4 04-07-2005 03:30 AM
completely remove a program edigital Linux - Software 3 02-21-2004 03:43 PM
how do i remove a specific program? Blu-star Linux - Software 4 01-04-2004 10:00 PM
How do i remove a program? SykoMachine Linux - Software 5 01-04-2004 04:55 PM
how to remove an installed program brian0918 Linux - Software 4 04-05-2003 02:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 AM.

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