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 πΈ
β¨ COPYRIGHT β¨
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
- debian bookworm: dnf-plugins-core 4.3.1-3 Β· GPL-2.0-or-later
- ubuntu noble: dnf-plugins-core 4.3.1-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms