Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-remove.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-REMOVE" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-remove \- Remove Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 remove [options] <package\-spec\-NF>|@<group\-spec>|@<environment\-spec>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBremove\fP command in \fBDNF5\fP is used for removing installed packages, groups or
39 environments from the system.
40 .sp
41 If you want to keep the dependencies that were installed together with the given package,
42 set the \fBclean_requirements_on_remove\fP configuration option to \fBFalse\fP\&.
43 .SH OPTIONS
44 .INDENT 0.0
45 .TP
46 .B \fB\-\-installed\-from\-repo=REPO_ID,...\fP
47 .nf
48 Filters installed packages by the ID of the repository they were installed from.
49 .fi
50 .sp
51 .UNINDENT
52 .INDENT 0.0
53 .TP
54 .B \fB\-\-no\-autoremove\fP
55 .nf
56 Disable removal of dependencies that are no longer used.
57 .fi
58 .sp
59 .UNINDENT
60 .INDENT 0.0
61 .TP
62 .B \fB\-\-offline\fP
63 .nf
64 Store the transaction to be performed offline. See \fI\%offline command\fP, \fBdnf5\-offline(8)\fP\&.
65 .fi
66 .sp
67 .TP
68 .B \fB\-\-store=PATH\fP
69 .nf
70 Store the current transaction in a directory at the specified \fBPATH\fP instead of running it.
71 The stored transaction can be performed by the \fI\%replay command\fP, \fBdnf5\-replay(8)\fP\&.
72 Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required
73 because during replaying the stored repositories are recreated and they might collide with already present repositories
74 (this doesn\(aqt apply to the special @System repository).
75 .fi
76 .sp
77 .UNINDENT
78 .SH EXAMPLES
79 .INDENT 0.0
80 .TP
81 .B \fBdnf5 remove tito\fP
82 .nf
83 Remove the \fBtito\fP package.
84 .fi
85 .sp
86 .UNINDENT
87 .SH SEE ALSO
88 .INDENT 0.0
89 .INDENT 3.5
90 .nf
91 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
92 .fi
93 .sp
94 .UNINDENT
95 .UNINDENT
96 .SH AUTHOR
97 See AUTHORS.md in dnf5 source distribution.
98 .SH COPYRIGHT
99 Contributors to the dnf5 project.
100 .\" Generated by docutils manpage writer.
101 .