DNF4-GROUPS-MANAGER(8)
π DNF4-GROUPS-MANAGER(8) π
okay bestie so welcome to dnf4-groups-manager from the dnf-plugins-core family, living its best life in section 8 of your manual. pull up a chair, grab a snack, we're gonna make some group metadata β¨
β¨ NAME β¨
dnf4-groups-manager β the DNF groups-manager Plugin π
Create and edit groups repository metadata files. yes, literally, that's the whole job and it ate π
π¦ SYNOPSIS π¦
dnf groups-manager [options] [package-name-spec [package-name-spec ...]]
πΈ DESCRIPTION πΈ
So the groups-manager plugin is your new bestie for creating or editing a group metadata file for a repository. and like... it is so much easier than hand-writing or hand-editing that XML yourself, no cap. writing XML by hand is giving 2004 and not in a cute way π
the way it works: groups-manager can load a whole entire file of groups metadata, then either create a brand new group or edit an existing one, and then write all of the groups metadata right back out. iconic behavior π«Ά
π ARGUMENTS π
<package-name-spec>β the package you wanna add to a group or yeet out of a group. that's the whole vibe of this argument β¨
π OPTIONS π
first things first, all the general DNF options are accepted bestie β go peep Options in dnf(8) for the details π
--load=<path_to_comps.xml>β loads the groups metadata info from the file you point at before doing literally any operations. and if you specify this option, like, multiple times? all the metadata from all those files gets merged together. teamwork makes the dream work π--save=<path_to_comps.xml>β saves the result to this file. and yes you can absolutely specify the name of a file you're loading from, because the data only gets saved once all the operations have been performed. this option can also be specified multiple times π--merge=<path_to_comps.xml>β this is the same as loading and saving a file, except the "merge" file gets loaded before any of the others and saved last. main character energy, it goes first and it goes last π--printβ also prints the result to stdout. for the girlies who need to see the receipts π--id=<id>β the id to look up/use for the group. and here's the tea: if you don't specify an<id>but you do specify a name that doesn't refer to an existing group, then an id for the group is generated based on the name. it just manifests itself, slay β¨-n<name>,--name=<name>β the name to look up/use for the group. and if you specify an existing group id? then the group with that id will have its name changed to this value. glow-up time π--description=<description>β the description to use for the group. give it a little personality, it deserves one π¦--display-order=<display_order>β changes the integer that controls the order groups are presented in, like for example indnf grouplist. yes, we're doing choreography now πΈ--translated-name=<lang:text>β a translation of the group name in the given language. the syntax islang:text. eg.en:my-group-name-in-englishπ--translated-description=<lang:text>β a translation of the group description in the given language. the syntax islang:text. eg.en:my-group-description-in-english. bilingual queen π--user-visibleβ makes the group visible indnf grouplist. and this is the default, so it's already the vibe β¨--not-user-visibleβ makes the group not visible indnf grouplist. stealth mode, we love a private moment π--mandatoryβ stores the package names you specified within the mandatory section of the specified group. the default is to use the default section, fyi π--optionalβ stores the package names you specified within the optional section of the specified group. again, default is the default section π--removeβ instead of adding packages, removes them. heads up though: the packages get removed from all sections (default, mandatory and optional). it's not picky, it's thorough π--dependenciesβ also includes the names of the direct dependencies for each package you specified. bringing the whole friend group along π₯
π Author π
See AUTHORS in your Core DNF Plugins distribution π
π Copyright π
2014, Red Hat, Licensed under GPLv2+ β periodt, legal said what it said β¨
and that's the whole page bestie π«Ά this was version 4.10.1, dated Sep 27, 2025, and honestly? she understood the assignment π
ππ¦
π¦ where this page comes from
- ubuntu resolute: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- ubuntu stonking: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms