[Yum] yum groupinstall: how to install optional packages?

Panu Matilainen pmatilai at laiskiainen.org
Wed Feb 14 07:12:42 UTC 2007


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>...]`

 	- Panu -



More information about the Yum mailing list