.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-LEAVES" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-leaves \- Leaves Command .SH SYNOPSIS .sp \fBdnf5 leaves\fP .SH DESCRIPTION .sp The \fBleaves\fP command in \fBDNF5\fP is used to list all leaf packages. Leaf packages are installed packages that are not required as a dependency of another installed package. However, two or more installed packages might depend on each other in a dependency cycle. Packages in such cycles that are not required by any other installed package are also leaf. Packages in such cycles form a group of leaf packages. .sp Packages in the output list are sorted by group and the first package in the group is preceded by a \fB\-\fP character. .SH OPTIONS .sp Does not implement options. But it takes into account the \fBinstall_weak_deps\fP setting. If \fBinstall_weak_deps\fP is set to \fBfalse\fP, weak dependencies are ignored during the calculation of the set of leaf packages. .SH WHY IS THIS USEFUL? .sp 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. The following list of arguments basically says the same thing in different ways: .INDENT 0.0 .IP \(bu 2 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. .IP \(bu 2 If you want to uninstall anything from your system (without breaking dependencies) it must involve at least one package on this list. .IP \(bu 2 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. .UNINDENT .SH AUTHOR See AUTHORS.md in dnf5 source distribution. .SH COPYRIGHT Contributors to the dnf5 project. .\" Generated by docutils manpage writer. .