[Yum] a couple questions about yum and groups

Seth Vidal skvidal at fedoraproject.org
Fri Apr 3 18:57:00 UTC 2009



On Fri, 3 Apr 2009, Robert P. J. Day wrote:

>  # yum groupinfo Virtualization
>
> i get a short list of packages categorized as "Mandatory", "Default"
> and "Optional".  i'm guessing that the first means absolutely
> required, the second means default selected but de-selectable, and the
> third, well, not selected but selectable.  the questions:
>
>  1) what are the options i used to configure what packages i want?


man yum.conf look for group_package_types:
        group_package_types
        List  of  the following: optional, default, mandatory. Tells yum
        which  type  of  packages  in  groups  will  be  installed  when
       ’groupinstall’ is called.  Default is: default, mandatory

>  2) for a given group, is there a way to show the *total* set of
>     packages that would be installed after all the dependencies were
>     included as well?

Run echo 'n' | yum groupinstall groupname
that'll show you. However, which pkgs will be installed will be dependent 
on which pkgs are already installed.

-sv


More information about the Yum mailing list