1.4 DNF Groups

A set of packages can be organized and managed as a group. Groups can be nested so that a parent group contains a set of sub-groups that can be installed. Examples include the groups for setting up a virtualization host, a graphical desktop, a collection of fonts, or core system administration tools. The following table shows the dnf commands that you can use to manage these groups.



dnf group list

Lists Environment Groups, that contain many sub-groups; and base groups of packages that are available for installation.

dnf group info groupname

Displays detailed information about a group. If the group is a parent group, this command lists all sub-groups that it contains, alternately the command lists all packages that are in the group.

dnf group install groupname

Installs all of the packages in a group.

dnf group update groupname

Updates all of the packages in a group.

dnf group remove groupname

Removes all of the packages in a group.