O seguinte funciona pelo menos no CentOS 7, que, embora não seja a versão em questão, deve ajudar qualquer pessoa que encontre essa pergunta no google à procura de algo semelhante.
O comando yum grouplist
mostra pacotes em dois grupos, Available Environment Groups
e Available Groups
.
Para fazer referência ao Environment Groups
, você pode usar yum install @^GroupName
, enquanto yum install @GroupName
funciona para grupos padrão.
Exemplo:
# yum grouplist
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
MATE Desktop
Basic Web Server
Virtualization Host
Server with GUI
GNOME Desktop
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
CIFS file server
Compatibility Libraries
...
Done
# yum install "@GNOME Desktop"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Warning: Package group GNOME Desktop does not exist.
Nothing to do
# yum install "@^GNOME Desktop"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Warning: Group core does not have any packages to install.
Resolving Dependencies
--> Running transaction check
---> Package ModemManager.x86_64 0:1.1.0-8.git20130913.el7 will be installed
--> Processing Dependency: ModemManager-glib(x86-64) = 1.1.0-8.git20130913.el7 for package: ModemManager-1.1.0-8.git20130913.el7.x86_64
--> Processing Dependency: libqmi-glib.so.1()(64bit) for package: ModemManager-1.1.0-8.git20130913.el7.x86_64
--> Processing Dependency: libmm-glib.so.0()(64bit) for package: ModemManager-1.1.0-8.git20130913.el7.x86_64
--> Processing Dependency: libmbim-glib.so.0()(64bit) for package: ModemManager-1.1.0-8.git20130913.el7.x86_64
...
Fonte :
NOTE You can identify an environmental group with use of the @^ prefix
and a package group can be marked with @. When using yum group list,
info, install, or remove, pass @group_name to specify a package group,
@^group_name to specify an environmental group, or group_name to
include both.