[Yum] yum groupinstall: how to install optional packages?
seth vidal
skvidal at linux.duke.edu
Wed Feb 14 14:03:39 UTC 2007
On Wed, 2007-02-14 at 09:12 +0200, Panu Matilainen wrote:
> On Tue, 13 Feb 2007, Michel Salim wrote:
>
> > Is there a way to tell yum to install a group including all optional
> > packages? Or is this considered something that a frontend to yum
> > should do: grab the group info and then provide the optional package
> > list to the user.
>
> Yum doesn't have a way to specicy group package "policy" but you can
> accomplish that by using repoquery as a helper:
>
> yum install `repoquery -g -l --grouppkgs=all <group1> [<group2>...]`
in 3.0.3 you should be able to specify:
group_package_types = mandatory default optional
in your yum.conf and it will install all of those types.
-sv
More information about the Yum
mailing list