- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- How to install a group of packages with yum on Red Hat Enterprise Linux
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. Please note that there may be some differences of the group name between major versions of Red Hat Enterprise Linux.
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>"
# yum groupinstall "KDE"
(Please note that the group name has to be in quotation marks.)
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.