carapace-sh/carapace-bin / skills/dnf5
dnf5
VerifiedUse when working with dnf5 — the next-generation RPM package manager for Fedora/RHEL. Covers CLI commands and options, configuration, plugin system (dnf5 active plugins and libdnf5 passive plugins), dnf5daemon D-Bus API, execution workflow, package specs (NEVRA), modularity, caching, migration from DNF4, libdnf5 library architecture, build system, and command-line aliases. Triggers on: "dnf5", "dnf", "libdnf5", "libdnf", "dnf5daemon", "dnf5-plugins", "libdnf5-plugins", "dnf5.conf", "repoquery", "versionlock", "distro-sync", "offline upgrade", "system-upgrade", "advisory", "comps", "modulemd", "NEVRA", "installroot", "forcearch", "repo variables", "metadata_expire", "setopt", "setvar", "config-manager", "repofrompath", "releasever", "basearch", "pluginpath".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.1 KB |
| references/aliases.md | markdown | 4.6 KB |
| references/build.md | markdown | 6.1 KB |
| references/caching.md | markdown | 4.6 KB |
| references/cli.md | markdown | 8.1 KB |
| references/comps.md | markdown | 1.7 KB |
| references/configuration.md | markdown | 15.7 KB |
| references/daemon.md | markdown | 13.4 KB |
| references/filtering.md | markdown | 2.2 KB |
| references/forcearch.md | markdown | 1.5 KB |
| references/installroot.md | markdown | 2.5 KB |
| references/libdnf5.md | markdown | 7.0 KB |
| references/migration.md | markdown | 8.5 KB |
| references/modularity.md | markdown | 4.1 KB |
| references/plugins.md | markdown | 16.2 KB |
| references/repo-variables.md | markdown | 2.4 KB |
| references/specs.md | markdown | 4.2 KB |
| references/system-state.md | markdown | 2.0 KB |
| references/workflow.md | markdown | 7.5 KB |
references/comps.md
View on GitHub# Comps Groups and Environments
Comps files group packages into functional units. They are stored in repository metadata under the `comps.xml` filename.
> **Source of truth**: <https://dnf5.readthedocs.io/en/stable/misc/comps.7.html>. For specs, see [specs.md](specs.md).
## Two Types of Structures
| Type | Composed Of |
|------|-------------|
| **Group** | Lists of packages |
| **Environment** | Groups (mandatory and optional) |
### Environment Structure
- Each environment is made of **mandatory** and **optional** groups.
- **Mandatory groups** must all be installed for the environment to be considered installed.
- **Optional groups** are not installed by default. Add with `--with-optional`.
## Group Package Levels
| Level | Description | Default Behavior |
|-------|-------------|------------------|
| **mandatory** | Essential for the group's functionality. Must be installed for group to be considered installed. | Installed |
| **default** | Installed together with mandatory packages. | Installed (can be excluded with `--exclude=PACKAGE`) |
| **optional** | Not installed by default. Can be included with `--with-optional`. | Not installed |
| **conditional** | Brought into transaction if their required package is to be installed. | Conditional |
## Configuration
The `group_package_types` config option controls which package types are installed by default:
```
group_package_types = default,mandatory,conditional
```
## Related Commands
- `dnf5 group` — Manage comps groups
- `dnf5 environment` — Manage comps environments
## Related
- [specs.md](specs.md) — `<group-spec>` and `<environment-spec>` patterns
- [configuration.md](configuration.md) — `group_package_types`, `excludegroups`, `excludeenvs`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |