DNF5-REPO(8)

πŸ’– DNF5-REPO(8) πŸ’–

okay bestie, welcome to dnf5-repo β€” the Repo Command, from the dnf5 manual. this is the page where you get to snoop on all your repositories. no cap. πŸŽ€


✨ NAME ✨

dnf5-repo β€” Repo Command. that's it, that's the name, she's simple and she serves. πŸ’…


🌸 SYNOPSIS 🌸

dnf5 repo <subcommand> [options] [<repo-spec>...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the repo command in DNF5 is literally your little detective for repositories configured on the system. it gives you several queries to get information about them. that's the whole vibe β€” pure information gathering, main character energy, no changes, just facts. πŸ‘‘


πŸŽ€ SUBCOMMANDS πŸŽ€

  • list β€” List available repositories. the basics, the essentials, the starter pack. ✨
  • info β€” Show detailed info about repositories. this one's nosy in the best way, she wants the details. πŸ’–

πŸ’… OPTIONS πŸ’…

  • --all β€” Show information about all known repositories. every single one. the whole squad. 🌈
  • --enabled β€” Show information only about enabled repositories. and bestie, this is the default behavior, so if you don't say anything, this is what you get. 🫢
  • --disabled β€” Show information only about disabled repositories. for the ones currently sitting on the bench. πŸͺ‘
  • --json β€” Show information in JSON format. and ooh, similar information can be obtained with the dnf5 --dump-repo-config REPO_ID command, iykyk. πŸ”₯

🌟 EXAMPLES 🌟

  • dnf5 repo info --all Print detailed info about all known repositories. all of them, every crumb of lore. πŸ‘‘
  • dnf5 repo list --disabled *-debuginfo Print disabled repositories related to debugging. look at that glob working her magic. ✨
  • dnf5 config-manager setopt repo_id.enabled=0 Persistently disable repository using the config-manager plugin command. See dnf5-config-manager(8) for more details. πŸŽ€

🧚 JSON OUTPUT 🧚

  • dnf5 repo list --json

The command returns a JSON array of objects, each describing one repository. Each object contains the following fields:

  • id (string) β€” Repository ID.
  • name (string) β€” Repository name.
  • is_enabled (boolean) β€” Repository status, either true (enabled), or false (disabled).
  • dnf5 repo info --json

The command returns a JSON array of objects, each describing one repository. Each object contains the following fields:

  • id (string) β€” Repository ID.
  • name (string) β€” Repository name.
  • is_enabled (boolean) β€” Repository status, either true (enabled), or false (disabled).
  • priority (integer) β€” Repository priority.
  • cost (integer) β€” Repository cost.
  • type (string) β€” Repository type.
  • exclude_pkgs (array of strings) β€” List of excluded packages.
  • include_pkgs (array of strings) β€” List of included packages.
  • timestamp (integer) β€” Timestamp of the last metadata update, UNIX time.
  • metadata_expire (integer) β€” Metadata expiration time. If not set, value is taken from global config.
  • skip_if_unavailable (boolean) β€” Whether to skip the repository if it is unavailable.
  • repo_file_path (string) β€” Path to the repository file.
  • base_url (array of strings) β€” List of base URLs. They are β€œeffective” base URLs, i.e., after expanding any variables included.
  • metalink (string) β€” Metalink URL.
  • mirrorlist (string) β€” Mirrorlist URL.
  • gpg_key (array of strings) β€” List of OpenPGP keys.
  • repo_gpgcheck (boolean) β€” Whether to perform GPG check of the repository metadata.
  • pkg_gpgcheck (boolean) β€” Whether to perform GPG check of the packages.
  • available_pkgs (integer) β€” Number of available packages in the repository.
  • pkgs (integer) β€” Number of packages in the repository.
  • size (integer) β€” Total size of packages in the repository, in bytes.
  • content_tags (array of strings) β€” List of content tags.
  • distro_tags (array of strings) β€” List of distro tags.
  • revision (string) β€” Repository revision.
  • max_timestamp (integer) β€” Maximum timestamp from repomd records; UNIX time.

For more details about the fields, see the REPO OPTIONS section in dnf5.conf(5). πŸ’œ


πŸ” SEE ALSO πŸ”

  • dnf5(8), --dump-repo-config option <#dump-repo-config-option-ref-label>
  • dnf5.conf(5), Repo Options <#repo-options-label>

🫢 Author 🫢

See AUTHORS.md in dnf5 source distribution.

Contributors to the dnf5 project.


and that's the whole page, bestie!! πŸŽ‰ this was DNF5-REPO(8) from the dnf5 manual, dated Sep 24, 2026 β€” go forth and query your repos, you absolute icon. slay, periodt, bye πŸ’…βœ¨

πŸ“¦ where this page comes from