The following works atleast on CentOS 7, which while not the version in question, should help anyone who finds this question through google looking for a similar thing.
The command yum grouplist
shows packages in two groups, Available Environment Groups
and Available Groups
.
In order to reference the Environment Groups
you can use yum install @^GroupName
while yum install @GroupName
works for standard groups.
Example:
# 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
...
Source:
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.