[CentOS] Find installed yum groups?

Tue Apr 28 20:10:39 UTC 2015
Liam O'Toole <liam.p.otoole at gmail.com>

On 2015-04-27, Les Mikesell
<lesmikesell at gmail.com> wrote:

--SNIP--

> And I guess the other piece of this would be finding individual
> packages that are not encompassed by the groups - or pulled in by
> dependencies.    Is there some database-like approach to take the full
> list of packages, then reduce it to the minimal list of groups and
> top-level packages to pull the rest in?   It probably will work to
> hand the raw list to yum but  I'd like to make an understandable list
> in a script even if the packages had been added piecemeal in the first
> place as someone noticed the need for them.

The command 'package-cleanup --leaves --all' (from yum-utils) will help
you. Leaf packages are those which are not relied upon by other
packages.

-- 

Liam