DNF5-COMPS(7)

πŸ“¦
version 5.4.6.0 Β· 4 versions
, in fedora 44

✨ DNF5-COMPS(7) ✨

okay bestie, this is the dnf5-comps page from the dnf5 manual, and it's literally all about how packages get sorted into cute little friend groups 🫢


πŸ’– NAME πŸ’–

dnf5-comps β€” Comps Groups And Environments 🌸


🌈 DESCRIPTION 🌈

Comps files? They're the thing that groups packages together into functional groups, like a group chat for packages that do stuff together. They live in the repository metadata files, under the filename comps.xml πŸ“βœ¨

There are two types of structures you can use for grouping. The first one is a group, which is made up of lists of packages. The second one is an environment, which is made up from the groups πŸ¦‹

Every environment is made of mandatory and optional groups. All the mandatory groups have to be installed for the environment to be marked as installed β€” no skips, no shortcuts, periodt πŸ‘‘ Optional groups do not get installed by default, you have to add them using the --with-optional argument πŸ’…

So inside a group, there are four levels of packages:

  • mandatory β€” these are the essential packages for the functionality of the group. They have to be installed for the group to be considered installed. like, non-negotiable fr fr πŸ”₯
  • default β€” these are packages installed together with the mandatory packages. They can be excluded, f.e. using the --exclude=PACKAGE-SPEC-N,... argument πŸ™ˆ
  • optional β€” these packages are not installed by default. They can be included using the --with-optional argument ✨
  • conditional β€” these packages are brought in the transaction if their required package is to be installed πŸ‘€

For commands that operate with groups and environments, check the references down below β¬‡οΈπŸ’–


πŸŽ€ SEE ALSO πŸŽ€


πŸ’œ Author πŸ’œ

See AUTHORS.md in dnf5 source distribution. the whole squad, iykyk 🫢


Contributors to the dnf5 project. πŸ’–


and that's the whole vibe bestie πŸ’… this was DNF5-COMPS(7) from the dnf5 manual, dated Sep 24, 2026 β€” slay, ate, no crumbs left πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from