LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to remove a program in linux? (https://www.linuxquestions.org/questions/linux-software-2/how-to-remove-a-program-in-linux-152103/)

fhameed 03-01-2004 02:11 AM

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

Fahad

jax8 03-01-2004 03:10 AM

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

/var/log

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

-JAX

chem1 03-01-2004 09:49 AM

On the other hand if you compile somethng from source using the

./configure
make
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...

kev^ 03-01-2004 11:45 AM

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.

tk31337 03-01-2004 03:38 PM

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).


All times are GMT -5. The time now is 08:02 PM.