Hi,

> > Is there a way to list all the packages belonging to a given group
> > (e.g. System/Base) in CLI?
> 
> Package name only:
> rpm -qa  --qf "%{name}\t%{group}\n" | grep "<given group>"
> 
> With package version and release number:
> rpm -qa  --qf "%{name}-%{version}-%{release}\t%{group}\n" | grep ...

Thank you very much. However, I was thinking of a more "high-level"
list. Let me explain. When you choose e.g. the GNOME environment, some
packages in this group are mandatory, other are optional or
architecture-dependant. Furthermore, choosing the GNOME environment
group automatically select e.g. the base and X11 groups and all the
related dependent packages. This is this kind of package list I would
like to obtain. BTW, how did you find the names of the %{name},
%{version}, %{release} and %{group} keys in your query? Are there
documented somewhere? Additionally, is there a way to recover the names
of all the groups? yum list groupinstall did the trick before.

        Émeric

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to