1DNF5-LEAVES(8)                       dnf5                       DNF5-LEAVES(8)
2
3
4

NAME

6       dnf5-leaves - Leaves Command
7

SYNOPSIS

9       dnf5 leaves
10

DESCRIPTION

12       The  leaves  command  in  DNF5 is used to list all leaf packages.  Leaf
13       packages are installed packages that are not required as  a  dependency
14       of  another installed package.  However, two or more installed packages
15       might depend on each other in a dependency cycle. Packages in such  cy‐
16       cles  that  are  not  required  by any other installed package are also
17       leaf.  Packages in such cycles form a group of leaf packages.
18
19       Packages in the output list are sorted by group and the  first  package
20       in the group is preceded by a - character.
21

OPTIONS

23       Does  not  implement  options.  But  it  takes  into  account  the  in‐
24       stall_weak_deps setting.  If install_weak_deps is set  to  false,  weak
25       dependencies  are  ignored  during  the  calculation of the set of leaf
26       packages.
27

WHY IS THIS USEFUL?

29       The list gives you a nice overview of what is installed on your  system
30       without  flooding  you  with  anything required by the packages already
31       shown.  The following list of arguments basically says the  same  thing
32       in different ways:
33
34       • All the packages on this list is either needed by you, other users of
35         the system or not needed at all -- if it was required by another  in‐
36         stalled package it would not be on the list.
37
38       • If  you want to uninstall anything from your system (without breaking
39         dependencies) it must involve at least one package on this list.
40
41       • If there is anything installed on the system which is not  needed  it
42         must  be  on  this list -- otherwise it would be required as a depen‐
43         dency by another package.
44

AUTHOR

46       See AUTHORS.md in dnf5 source distribution.
47
49       Contributors to the dnf5 project.
50
51
52
53
54                                 Nov 09, 2023                   DNF5-LEAVES(8)
Impressum