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 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.
-n <name>, --name=<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
- A translation of the group name in the given language. The syntax is
- A translation of the group description in the given language. The syntax is
- Make the group visible in
dnf grouplist(this is the default).
- Make the group not visible in
- 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.