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 name
    • arch (string): package architecture
    • evr (string): available update version
    • repository (string): repository ID from which the update is available
    • obsoletes (array): (only for the β€œObsoleting packages” section) list of the packages that obsolete this package (they have the same structure as above, omitting obsoletes)

like. the data is right there. organized. iconic. 🧚


🌈 SEE ALSO 🌈


πŸ’œ Author

See AUTHORS.md in dnf5 source distribution.

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