Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am creating a kickstart file, and I want to install certain Package Groups in the %packages section. I prefer to install Package Groups, and therefore use the @packagegroup syntax:


I need to find the correct group package name which is compatible with Kickstart/Anaconda, but Kickstart only seems to recognize certain abbreviated names for a package group. For example '@Directory Server' doesn't work, but something like '@Directory' might work.

The problem is that the abbreviated package group (e.g. '@shortname') is cryptic and hard to find. How can I see which @shortname corresponds with a Yum package group?

For example, the following Yum command will provide a description and package list of a package group:

$ yum groupinfo \* |head -30
Loaded plugins: changelog, downloadonly, fastestmirror, filter-data, list-data,
              : security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * sl:
 * sl-security:

Group: Directory Server
 Description: Machine and user identity servers.
 Optional Packages:

However, referring to the package group @Directory Server in my Kickstart file results in an error (Cannot find group Directory Server).

share|improve this question
up vote 5 down vote accepted


is what you are looking for.

sudo yum -v groupinfo "Directory Server"

should show you that.

share|improve this answer

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

share|improve this answer

Another way to get the group-id is looking on the iso image from rhel or centos:

mount -t iso9660 -o loop /path/to/[rhel|centos].iso /mount/point

cd /mount/point/

find -name "*comps*.xml" -exec grep groupid {} \; | awk -F"groupid" '{print $2}' | tr -d "</>" | sort | uniq

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.