DNF5-LIST(8)
π DNF5-LIST β the list command, bestie π
okay so this is dnf5-list, from the dnf5 manual family (that's the dnf5 manual name, section 8, we're fancy like that). It's the glow-up command that shows you packages. Let's get into it. π¦
β¨ SYNOPSIS β¨
dnf5 list [options] [<package-spec-NI>...]
πΈ DESCRIPTION πΈ
It prints lists of packages based on the parameters you hand it. That's it. That's the whole vibe. π
If a terminal is available, the list of packages is colored β like, yes, colored, she serves looks. Packages available for reinstall are (by default) colored with bold green π and packages available for upgrade with bold blue π. You can adjust this whole behavior in dnf5.conf(5) via the color_list_available_upgrade and color_list_available_reinstall options. Periodt.
π OPTIONS π
--showduplicatesβ show all versions of the packages, not only the latest one. no gatekeeping β¨--installed-from-repo=REPO_ID,...β filters installed packages by the ID of the repository they were installed from.--installedβ list only installed packages.--availableβ list only available packages.--extrasβ list only extras: packages installed on the system that are not available in any known repository. it's giving orphaned π--obsoletesβ list only packages installed on the system that are obsoleted by packages in any known repository.--recentβ list only packages recently added to the repositories. new arrivals π--upgradesβ list only available upgrades for installed packages.--autoremoveβ list only packages that will be removed by the autoremove command<#autoremove-command-ref-label>.--jsonβ request JSON output format. for the girlies who script π€
π₯ EXAMPLES π₯
dnf5 list
List installed and available packages.
dnf5 list
dnf5 list --available --showduplicates
List all available packages, including all available versions.
dnf5 list --available --showduplicates
dnf5 list kernel*
List installed and available packages whose names start with kernel.
dnf5 list kernel*
π«Ά JSON OUTPUT π«Ά
dnf5 list --json
The command returns a JSON object with the following structure:
- keys represent a section of the βprettyβ CLI output
- values represent the packages in that section as an array of objects with the following structure:
name(string): package namearch(string): package architectureevr(string): available update versionrepository(string): repository ID from which the update is availableobsoletes(array): (only for the βObsoleting packagesβ section) list of the packages that obsolete this package (they have the same structure as above, omittingobsoletes)
like. the data is right there. organized. iconic. π§
π SEE ALSO π
dnf5-specs(7)- Patterns specification
<#specs-misc-ref-label>
π Author
See AUTHORS.md in dnf5 source distribution.
π Copyright
Contributors to the dnf5 project.
bestie that's literally the whole page, go list some packages π
okay and the official deets for the sign-off: this came from the dnf5 source, dated Sep 24, 2026, and it's page DNF5-LIST(8) in the dnf5 manual. love that for us. mwah ππβ¨
π¦ 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