| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "DNF5-LEAVES" "8" "May 09, 2026" "" "dnf5" |
| 32 |
.SH NAME |
| 33 |
dnf5-leaves \- Leaves Command |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBdnf5 leaves\fP |
| 37 |
.SH DESCRIPTION |
| 38 |
.sp |
| 39 |
The \fBleaves\fP command in \fBDNF5\fP is used to list all leaf packages. |
| 40 |
Leaf packages are installed packages that are not required as a dependency of another installed package. |
| 41 |
However, two or more installed packages might depend on each other in a dependency cycle. Packages |
| 42 |
in such cycles that are not required by any other installed package are also leaf. |
| 43 |
Packages in such cycles form a group of leaf packages. |
| 44 |
.sp |
| 45 |
Packages in the output list are sorted by group and the first package in the group is preceded by a \fB\-\fP character. |
| 46 |
.SH OPTIONS |
| 47 |
.sp |
| 48 |
Does not implement options. But it takes into account the \fBinstall_weak_deps\fP setting. |
| 49 |
If \fBinstall_weak_deps\fP is set to \fBfalse\fP, weak dependencies are ignored during the calculation of the set of leaf packages. |
| 50 |
.SH WHY IS THIS USEFUL? |
| 51 |
.sp |
| 52 |
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. |
| 53 |
The following list of arguments basically says the same thing in different ways: |
| 54 |
.INDENT 0.0 |
| 55 |
.IP \(bu 2 |
| 56 |
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. |
| 57 |
.IP \(bu 2 |
| 58 |
If you want to uninstall anything from your system (without breaking dependencies) it must involve at least one package on this list. |
| 59 |
.IP \(bu 2 |
| 60 |
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. |
| 61 |
.UNINDENT |
| 62 |
.SH Author |
| 63 |
See AUTHORS.md in dnf5 source distribution. |
| 64 |
.SH Copyright |
| 65 |
Contributors to the dnf5 project. |
| 66 |
.\" End of generated man page. |