DNF-LEAVES(8)

πŸ’… DNF-LEAVES(8) β€” the dnf-leaves plugin, bestie edition πŸ“

okay so this is a page from the dnf-plugins-core manual, and honestly? it's lowkey one of the most useful ones. sit down, grab a snack, we're gonna talk about leaves 🌸


✨ NAME ✨

dnf-leaves β€” the DNF leaves Plugin, no cap πŸ’…

It lists installed packages that aren't required by any other installed package. that's it. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

dnf leaves

literally that. one command, no flags of its own, iconic behavior πŸ‘‘


✨ DESCRIPTION ✨

so leaves lists, like, all the packages installed on your system which are not required as a dependency of another installed package. think of them as the ones standing on their own two feet, main character energy fr fr 🌈

but wait, there's a plot twist 😭 two or more packages might depend on eachother in a dependency cycle. and packages in such cycles β€” the ones that aren't required by any other package β€” are also listed. so if you were like "why is this here, it has a dependency?" β€” that's the cycle thing, iykyk πŸ’€


✨ OPTIONS ✨

  • no plugin-specific options, bestie β€” all general DNF options are accepted, see Options in dnf(8) for details 🫢

✨ WHY IS THIS USEFUL? ✨

the list gives you a nice overview of what is installed on your system without flooding you with anything required by the packages already shown. it's giving curated. it's giving aesthetic ✨

the following list of arguments basically says the same thing in different ways:

  • all the packages on this list is either needed by you, other users of the system or not needed at all – if it was required by another installed package it would not be on the list. πŸ’–
  • if you want to uninstall anything from your system (without breaking dependencies) it must involve at least one package on this list. πŸ”₯
  • if there is anything installed on the system which is not needed it must be on this list – otherwise it would be required as a dependency by another package. πŸ‘‘

like... the logic ate and left no crumbs πŸŽ€


✨ AUTHOR ✨

see AUTHORS in your Core DNF Plugins distribution 🌸


2023, Red Hat, Licensed under GPLv2+ πŸ’œ


ngl the dependency cycle bit is the only thing that trips people up β€” everything else is just "these are the orphan-ish ones," and the manpage is very clear that it's cycles, not bugs, so don't come for the output okay 😭

okay that's the whole page bestie!! this one is from dnf-plugins-core version 4.3.1, dated Jan 22, 2023 β€” go forth and dnf leaves responsibly πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from