l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:03

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] probably silly rpm question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] probably silly rpm question

  • Subject: Re: [vox-tech] probably silly rpm question
  • From: "Mark K. Kim" <mkkim@uMAPScdavis.edu>
  • Date: Mon, 23 Apr 2001 17:52:31 -0700
  • References: Pine.LNX.4.30.0104231555170.1760-100000@ansible.org

Do you still have the RedHat CD used for the install?  Then check the

   RedHat/base/comps (or "compss")

That file lists the packages and the group it belongs to.  You should be
able to write a script (or just cut & paste the section you want) that
erases the packages that belong to a certain group.  Be sure to watch out
for dependencies -- use the appropriate rpm flags to instruct rpm what to
do about file dependencies.


On Mon, 23 Apr 2001, Jessica wrote:

> I have a redhat server which apparently has a default install. Is there
> any simple way to remove all packages in specific categories (eg. X11,
> games)? Or must I go through and remove each of the packages manually?
> If the latter is the case, can anyone think of a simple way to script the
> removal of all the packages, given the names of files in a directory?
> (Simply feeding the results of ls to rpm won't work, since not all the
> names directly correspond to the names of their packages).
> jessica

Mark K. Kim
PGP key available upon request.

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.