Debian Codegraph @

upstream/opensuse-tumbleweed/man8/dnf5-remove.8

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