Yum: What is the @shortname for a Package Group?

Solution 1:

Group-Id:

is what you are looking for.

sudo yum -v groupinfo "Directory Server"

should show you that.

Solution 2:

To confirm the item above, the Group-Id: is what shows the short name. Thanks for posting this and the previous answer. I was looking for the exact same thing.

Kickstart shortname for the package group does not match the yum groupinfo name.

When running the yum -v groupinfo "Group" you can see both.

yum -v groupinfo "Graphical Administration Tools"

Group: Graphical Administration Tools
Group-Id: graphical-admin-tools

yum -v groupinfo "Directory Server"
Group: Directory Server
Group-Id: directory-server

This test was performed on RHEL 6.3 Workstation