1DNF-GROUPS-MANAGER(8) dnf-plugins-core DNF-GROUPS-MANAGER(8)
2
3
4
6 dnf-groups-manager - DNF groups-manager Plugin
7
8 Create and edit groups repository metadata files.
9
11 dnf groups-manager [options] [package-name-spec [package-name-spec
12 ...]]
13
15 groups-manager plugin is used to create or edit a group metadata file
16 for a repository. This is often much easier than writing/editing the
17 XML by hand. The groups-manager can load an entire file of groups meta‐
18 data and either create a new group or edit an existing group and then
19 write all of the groups metadata back out.
20
22 <package-name-spec>
23 Package to add to a group or remove from a group.
24
26 All general DNF options are accepted, see Options in dnf(8) for de‐
27 tails.
28
29 --load=<path_to_comps.xml>
30 Load the groups metadata information from the specified file be‐
31 fore performing any operations. Metadata from all files are
32 merged together if the option is specified multiple times.
33
34 --save=<path_to_comps.xml>
35 Save the result to this file. You can specify the name of a file
36 you are loading from as the data will only be saved when all the
37 operations have been performed. This option can also be speci‐
38 fied multiple times.
39
40 --merge=<path_to_comps.xml>
41 This is the same as loading and saving a file, however the
42 "merge" file is loaded before any others and saved last.
43
44 --print
45 Also print the result to stdout.
46
47 --id=<id>
48 The id to lookup/use for the group. If you don't specify an
49 <id>, but do specify a name that doesn't refer to an existing
50 group, then an id for the group is generated based on the name.
51
52 -n <name>, --name=<name>
53 The name to lookup/use for the group. If you specify an existing
54 group id, then the group with that id will have it's name
55 changed to this value.
56
57 --description=<description>
58 The description to use for the group.
59
60 --display-order=<display_order>
61 Change the integer which controls the order groups are presented
62 in, for example in dnf grouplist.
63
64 --translated-name=<lang:text>
65 A translation of the group name in the given language. The syn‐
66 tax is lang:text. Eg. en:my-group-name-in-english
67
68 --translated-description=<lang:text>
69 A translation of the group description in the given language.
70 The syntax is lang:text. Eg. en:my-group-description-in-english.
71
72 --user-visible
73 Make the group visible in dnf grouplist (this is the default).
74
75 --not-user-visible
76 Make the group not visible in dnf grouplist.
77
78 --mandatory
79 Store the package names specified within the mandatory section
80 of the specified group, the default is to use the default sec‐
81 tion.
82
83 --optional
84 Store the package names specified within the optional section of
85 the specified group, the default is to use the default section.
86
87 --remove
88 Instead of adding packages remove them. Note that the packages
89 are removed from all sections (default, mandatory and optional).
90
91 --dependencies
92 Also include the names of the direct dependencies for each pack‐
93 age specified.
94
96 See AUTHORS in your Core DNF Plugins distribution
97
99 2023, Red Hat, Licensed under GPLv2+
100
101
102
103
1044.4.3 Oct 06, 2023 DNF-GROUPS-MANAGER(8)