[CentOS] Find installed yum groups?

Mon Apr 27 20:45:16 UTC 2015
Johnny Hughes <johnny at centos.org>

On 04/27/2015 01:47 PM, Matthew Miller wrote:
> On Mon, Apr 27, 2015 at 11:58:08AM -0500, Les Mikesell wrote:
>> Is there an 'after the fact' way to find what yum groups are
>> installed, including ones that were added with 'yum groupinstall'
>> instead of the initial anaconda install?
> 
> Yes. "yum grouplist" will tell you the groups that are currently in the
> installed state. Worth reading the manpage to see exactly what yum
> thinks that "installed" means:
> 
>      Groups are marked as "installed" if all mandatory packages are
>      installed, or if a group doesn’t have any mandatory packages then
>      it is installed if any of the optional or default package are
>      installed. [...]
> 

But, I think that is a YUM database and not based on the RPM database,
so it is possible that you can have all the RPMs for a group installed
and not actually have it listed as installed.

At least I sometimes find myself in that position.  But I also wipe out
/var/cache/yum/ sometimes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20150427/4a0d4c19/attachment-0005.sig>