[Gllug] Stripped down CentOS 5.3

James Hawtin oolon at ankh.org
Mon May 25 16:18:54 UTC 2009


On Mon, May 25, 2009 at 03:57:13PM +0100, Tethys wrote:
> Get a list of packages installed on the system with "rpm -qa".
> Then pick the ones you don't want, and "yum erase" them. Be warned
> that like most modern Linux distributions, RHEL/CentOS has far more
> package dependencies than it should, so you may not be able to get
> rid of some packages you'd like to without also ridding your system
> of some others that you did want. Trial and error is probably your
> best bet here.
> 

I resently did a miminal install on a firewall vm with Centos 5.3, and found
even the minimum requires alot of packages, because of the dependencies. For
example dev-mapper-mulipath is use by mkinited so cannot be removed but is
only required for certain hardware this system does not require.

"rpm -e --nodeps" will remove packages anyway and can be used for trimming
things down. Going the other way "yum list" will show you all the packages
you could install and "yum install" will allow you to add an rpm and all of
its dependancies.

James 
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list