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

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>