dnf5 group {list|info} [options] [<group-spec>...]
dnf5 group {install|remove|upgrade} [options] <group-spec|environment-spec>...
The group command in DNF5 offers several queries for getting information about groups, packages related to them and it is also used for groups installation. To query environments use separate environment command. Note: dnf-4 listed both environments and groups with the group command.
Optional group-spec arguments can be passed to filter groups with given IDs or names. The install, remove and upgrade commands take both group-spec and environment-spec, but in case both groups and environments match, only groups are affected.
If an environments or group is already (partially) installed, the command installs the missing groups and packages it contains.
In case both groups and environments match, only groups are affected.
If the --with-optional option is used, also include Optional packages of groups. By default, all Mandatory and Default packages will be installed whenever possible. Conditional packages are installed if they meet their requirement. This can be configured by dnf5.conf(5), group_package_types <#group-package-types-options-label>.
If the --no-packages option is used, no packages will be installed by this command. Only currently installed group packages are considered to be installed with the groups.
In case both groups and environments match, only groups are affected.
If the --no-packages option is used, no packages will be removed by this command.
In case both groups and environments match, only groups are affected.
Show only available groups. Those which are not installed, but known to DNF5.
Show only installed groups.
Show also hidden groups.
Show only groups containing packages with specified names. List option, supports globs.
Include optional packages from the groups. Used with install command.
Operate exclusively on the environments and groups without manipulating any packages. Used with install and remove commands.
Allow removing of installed packages to resolve any potential dependency problems. Used with install and upgrade commands.
Resolve any dependency problems by removing packages that are causing problems from the transaction. Used with install command.
Allow skipping packages that are not possible to install or upgrade. Used with install and upgrade commands.
Enable downgrade of dependencies when resolving the requested operation. Used with install and upgrade commands.
Disable downgrade of dependencies when resolving the requested operation. Used with install and upgrade commands.
Download the resolved package set without executing an RPM transaction. Used with install and upgrade commands.
Store the transaction to be performed offline. See offline command <#offline-command-ref-label>, dnf5-offline(8).
Store the current transaction in a directory at the specified PATH instead of running it. The stored transaction can be performed by the replay command <#replay-command-ref-label>, dnf5-replay(8). Note that repository ids in the stored transaction are mangled to @stored_transaction(repo_id) this is required because during replaying the stored repositories are recreated and they might collide with already present repositories (this doesn't apply to the special @System repository).
Show list of all groups, including hidden ones.
Show detailed info about all groups related to Xfce.
Install the mysql group including optional packages.
Bring packages of the mysql group to compliance with a current definition of the group.
dnf5-comps(7), Comps groups and environments <#comps-misc-ref-label> dnf5-specs(7), Patterns specification <#specs-misc-ref-label>
See AUTHORS.md in dnf5 source distribution.
Contributors to the dnf5 project.