DOKK / manpages / debian 12 / dnf-plugins-core / dnf-groups-manager.8.en
DNF-GROUPS-MANAGER(8) dnf-plugins-core DNF-GROUPS-MANAGER(8)

dnf-groups-manager - DNF groups-manager Plugin

Create and edit groups repository metadata files.

dnf groups-manager [options] [package-name-spec [package-name-spec ...]]

groups-manager plugin is used to create or edit a group metadata file for a repository. This is often much easier than writing/editing the XML by hand. The groups-manager can load an entire file of groups metadata and either create a new group or edit an existing group and then write all of the groups metadata back out.

<package-name-spec>
Package to add to a group or remove from a group.

All general DNF options are accepted, see Options in dnf(8) for details.

Load the groups metadata information from the specified file before performing any operations. Metadata from all files are merged together if the option is specified multiple times.
Save the result to this file. You can specify the name of a file you are loading from as the data will only be saved when all the operations have been performed. This option can also be specified multiple times.
This is the same as loading and saving a file, however the “merge” file is loaded before any others and saved last.
Also print the result to stdout.
The id to lookup/use for the group. If you don’t specify an <id>, but do specify a name that doesn’t refer to an existing group, then an id for the group is generated based on the name.
The name to lookup/use for the group. If you specify an existing group id, then the group with that id will have it’s name changed to this value.
The description to use for the group.
Change the integer which controls the order groups are presented in, for example in dnf grouplist.
A translation of the group name in the given language. The syntax is lang:text. Eg. en:my-group-name-in-english
A translation of the group description in the given language. The syntax is lang:text. Eg. en:my-group-description-in-english.
Make the group visible in dnf grouplist (this is the default).
Make the group not visible in dnf grouplist.
Store the package names specified within the mandatory section of the specified group, the default is to use the default section.
Store the package names specified within the optional section of the specified group, the default is to use the default section.
Instead of adding packages remove them. Note that the packages are removed from all sections (default, mandatory and optional).
Also include the names of the direct dependencies for each package specified.

See AUTHORS in your Core DNF Plugins distribution

2023, Red Hat, Licensed under GPLv2+

January 22, 2023 4.3.1