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 thednf5 --dump-repo-config REPO_IDcommand, iykyk. π₯
π EXAMPLES π
dnf5 repo info --allPrint detailed info about all known repositories. all of them, every crumb of lore. πdnf5 repo list --disabled *-debuginfoPrint disabled repositories related to debugging. look at that glob working her magic. β¨dnf5 config-manager setopt repo_id.enabled=0Persistently disable repository using theconfig-managerplugin command. Seednf5-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, eithertrue(enabled), orfalse(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, eithertrue(enabled), orfalse(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-configoption <#dump-repo-config-option-ref-label>dnf5.conf(5), Repo Options <#repo-options-label>
π«Ά Author π«Ά
See AUTHORS.md in dnf5 source distribution.
π Copyright π
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
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· 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