Log into each server as root. Make
sure the RPM database is up to date by executing the following command:
rpm --rebuilddb
The following
commands will remove unnecessary packages from a Linux system. The
following deal with power management of a laptop (apmd), sound cards,
printers, creating cd's and cd labels.
rpm -ev --nodeps apmd
rpm -ev --nodeps sndconfig
rpm -ev --nodeps aumix
rpm -ev bluez-gnome bluez-libs bluez-utils
rpm -ev --nodeps cups-devel
rpm -ev --nodeps cups-drivers
rpm -ev --nodeps cups-libs
rpm -ev --nodeps cups
rpm -ev --nodeps kernel-pcmcia-cs
rpm -ev --nodeps LPRng printconf
rpm -ev --nodeps pnm2ppa
rpm -ev --nodeps mpage
rpm -ev --nodeps Omni Omni-foomatic
rpm -ev --nodeps foomatic
rpm -ev --nodeps cdlabelgen
rpm -ev --nodeps cdparanoia-devel
rpm -ev --nodeps cdparanoia
rpm -ev --nodeps cdparanoia-alpha9
rpm -ev --nodeps cpd
rpm -ev --nodeps playmidi
rpm -ev --nodeps talk
rpm -ev --nodeps talk-server
rpm -ev --nodeps inews
rpm -ev --nodeps inn
rpm -ev --nodeps a2ps
rpm -ev --nodeps docbook-utils docbook-utils-pdf
rpm -ev --nodeps docbook-style-dsssl
rpm -ev --nodeps docbook-dtd30-sgml docbook-dtd31-sgml
rpm -ev --nodeps docbook-dtd40-sgml docbook-dtd41-sgml
rpm -ev --nodeps psgml
rpm -ev --nodeps sgml-tools
rpm -ev --nodeps bcm5820
rpm -ev --nodeps efax
rpm -ev --nodeps eject
rpm -ev squid
rpm -ev tux
rpm -ev vsftpd
rpm -ev ypbind yp-tools
NOTES:
To get a listing of what packages you have installed,
use "rpm -qa."
To find out what a particular package does, do the
following:
rpm -qi [package name]
For example:
rpm -qi logwatch
Name : logwatch Relocations: (not relocateable)
Version : 4.3.2 Vendor: Kirk Bauer <kirk@kaybee.org>
Release : 1 Build Date: Tue 18 Feb 2003 10:53:45 AM EST
Install date: Tue 06 May 2003 03:41:08 PM EDT Build Host: kaybee.org
Group : Applications/System Source RPM: logwatch-4.3.2-1.src.rpm
Size : 252366 License: MIT
Packager : Kirk Bauer <kirk@kaybee.org>
URL : http://www.logwatch.org
Summary : A log file analysis program.
Description :
LogWatch is a customizable log analysis system. LogWatch parses
through your system's logs for a given period of time and creates a
report analyzing areas that you specify, in as much detail as you
require. LogWatch is easy to use and claims that it will work right
out of the package on almost all systems. Note that LogWatch now
analyzes Samba logs. |