Remove package groups
To optimize your Red Hat Enterprise Linux (RHEL) 10 system, uninstall collections of related software by removing package groups with the DNF tool.
Before you begin
- You know the name or ID of the group you want to remove. For more information, see Listing package groups and packages they provide.
About this task
Package groups bundle multiple packages. You can use package groups to remove all packages assigned to a group in a single step.
Procedure
Remove package groups by the group name or group ID:
# dnf group remove <group_name><group_ID>