It's actually very easy once you get used to the rpm arguments. Using
rpm -qa you can pipe the database through either grep or more or both and
get a list of everything on the system, rpms with only a certain string or
version, etc.
eg: to get a list of all kernel rpms:
rpm -qa |grep kernel
will provide the list of kernel rpms.
just: rpm -qa |more will give you pretty much everything, stoping to let
you see the screens at they fly by.
--Greg
> Does your scheme assume that I have X installed on the server? I don't
have
> a functional copy of X on my server machine. I always get the X
> server/client stuff (and what needs to be where) all screwed up in my
head,
> usually resulting in a bad headache.
>
> Matt
>
> >
> > On Thu, 24 Aug 2000, Zaleski, Matthew (M.E.) wrote:
> >
> > > I've got a strange request. Are there any easy ways to
> > manipulate the
> > > entire RPM DB at the console?
> > >
> > > I just finished installing mdk7.1 on an old Pentium to become my new
> > > firewall machine. Due to bugs in the install script I
> > could not choose
> > > expert mode to hand pick my packages at install-time. The
> > best I could do
> > > was "customize" and "server". I'm not running X on the
> > machine so I can't
> > > run rpmdrake. I want to browse the list of installed rpms,
> > view their
> > > descriptions and remove the unnecessary rpms for security's
> > sake. I know
> > > that I do "rpm -qa" to list the installed rpms and "rpm -qi
> > <rpmname>" to
> > > view the description. Is there anything more "automated"
> > than that? I like
> > > the way rpmdrake organizes the rpms into categories.
> > >
> > >
> > > Matthew Zaleski
> > > R&VT Vehicle Dynamics
> > > Ford Motor Company
> > > Phone: (313) 248-9866, Fax: (313) 390-4833
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> > --
> > Darling: the popular form of address used in speaking to a
> > member of the
> > opposite sex whose name you cannot at the moment remember.
> > -- Oliver Herford
> >
> >
> >
>
______________________________________________________________________________
message envoye depuis http://www.ifrance.com
emails (pop)-sites persos (espace illimite)-agenda-favoris (bookmarks)-forums
Ecoutez ce message par tel ! : 08 92 68 92 15 (france uniquement)