Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-autoremove.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF5-AUTOREMOVE" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-autoremove \- Autoremove Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 autoremove\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBautoremove\fP command in \fBDNF5\fP is used for removing unneeded packages
39 from the system.
40 .sp
41 Unneeded packages are all \(dqleaf\(dq packages that were originally installed as
42 dependencies of user\-installed packages, but which are no longer required by
43 any such package.
44 .sp
45 Installonly packages (e.g. kernels) are never automatically removed by this
46 command even if they were installed as dependencies.
47 .SH OPTIONS
48 .INDENT 0.0
49 .TP
50 .B \fB\-\-offline\fP
51 .nf
52 Store the transaction to be performed offline. See \fI\%offline command\fP, \fBdnf5\-offline(8)\fP\&.
53 .fi
54 .sp
55 .TP
56 .B \fB\-\-store=PATH\fP
57 .nf
58 Store the current transaction in a directory at the specified \fBPATH\fP instead of running it.
59 The stored transaction can be performed by the \fI\%replay command\fP, \fBdnf5\-replay(8)\fP\&.
60 Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required
61 because during replaying the stored repositories are recreated and they might collide with already present repositories
62 (this doesn\(aqt apply to the special @System repository).
63 .fi
64 .sp
65 .UNINDENT
66 .SH AUTHOR
67 See AUTHORS.md in dnf5 source distribution.
68 .SH COPYRIGHT
69 Contributors to the dnf5 project.
70 .\" Generated by docutils manpage writer.
71 .