List dnf package groups

List both installed and available package groups:

dnf group list
List only installed package groups:
dnf group list available
dnf group list --available
List the installed package groups:
dnf group list installed
dnf group list --installed
By default, the so called hidden groups are not included in the list.
To make them show up all we need to do is to add the --hidden option:
dnf group list hidden
dnf group list --hidden
To get details about a specific group:
dnf group info virtualization
For more details the -v or --verbose flag can be included