Skip to navigation

Warning message

log in to add comments or rate this document

How to install a group of packages with yum on Red Hat Enterprise Linux 5

Updated 2013-12-17T14:25:05+00:00

Issue

  • How to install a group of packages with yum on Red Hat Enterprise Linux 5

Environment

  • Red Hat Enterprise Linux 5

Resolution

You can use the option yum grouplist command to list available package groups. The option groupinstall is used to install a group of packages. However, the yum grouplist command can't list all the groups that are provided when installing Red Hat Enterprise Linux from the installation CDs. There is a hidden option can resolve this problem. For example, the Chinese Support group is hidden.

For example, to see all groups, including hidden groups, run the following command:

# yum grouplist hidden

This will show a list of  all available package groups, including Chinese Support.

To install the packages under a specific group you can execute the command :

# yum groupinstall "<group name>"

Example:

# yum groupinstall "Chinese Support"



# yum groupinstall "KDE (K Desktop Environment)"

Please note that the group name has to be in quotation marks.