Debian Codegraph @

upstream/debian-unstable/man8/dnf5-mark.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-MARK" "8" "May 09, 2026" "" "dnf5"
32 .SH NAME
33 dnf5-mark \- Mark Command
34 .SH SYNOPSIS
35 .sp
36 \fBdnf5 mark <subcommand> [global options] [<group\-id>] <package\-spec\-NPFB>...\fP
37 .SH DESCRIPTION
38 .sp
39 The \fBmark\fP command in \fBDNF5\fP is used to change reason of installed packages
40 defined in \fBpackage\-spec\-NPFB\fP arguments.
41 .SH SUBCOMMANDS
42 .INDENT 0.0
43 .TP
44 .B \fBuser\fP
45 .nf
46 Mark the package as user\-installed.
47 .fi
48 .sp
49 .sp
50 This can be useful if any package was installed as a dependency and is desired
51 to stay on the system when \fBremove\fP command along with \fBclean_requirements_on_remove\fP
52 configuration option set to \fBTrue\fP is executed.
53 .TP
54 .B \fBdependency\fP
55 .nf
56 Mark the package as a dependency.
57 .fi
58 .sp
59 .sp
60 This can be useful if you as the user don\(aqt need a specific package. The package stays
61 installed on the system, but will be removed when \fBremove\fP command along with
62 \fBclean_requirements_on_remove\fP configuration option set to \fBTrue\fP is executed.
63 .sp
64 You should use this operation instead of \fBremove\fP command if you\(aqre not sure whether
65 the package is a requirement of other user installed package on the system.
66 .TP
67 .B \fBweak\fP
68 .nf
69 Mark the package as a weak dependency.
70 .fi
71 .sp
72 .UNINDENT
73 .INDENT 0.0
74 .TP
75 .B \fBgroup\fP
76 .nf
77 Mark the package as installed by the group defined in \fBgroup\-id\fP argument.
78 .fi
79 .sp
80 .sp
81 This can be useful if any package was installed as a dependency or the user and
82 is desired to be protected and handled as a group member like during \fBgroup remove\fP command.
83 .UNINDENT
84 .SH OPTIONS
85 .INDENT 0.0
86 .TP
87 .B \fB\-\-skip\-unavailable\fP
88 .nf
89 Allow skipping packages that are not installed on the system. All remaining installed packages will be marked.
90 .fi
91 .sp
92 .UNINDENT
93 .INDENT 0.0
94 .TP
95 .B \fB\-\-offline\fP
96 .nf
97 Store the transaction to be performed offline. See offline command \%<#\:offline-command-ref-label>, \fBdnf5\-offline(8)\fP\&.
98 .fi
99 .sp
100 .TP
101 .B \fB\-\-store=PATH\fP
102 .nf
103 Store the current transaction in a directory at the specified \fBPATH\fP instead of running it.
104 The stored transaction can be performed by the replay command \%<#\:replay-command-ref-label>, \fBdnf5\-replay(8)\fP\&.
105 Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required
106 because during replaying the stored repositories are recreated and they might collide with already present repositories
107 (this doesn\(aqt apply to the special @System repository).
108 .fi
109 .sp
110 .UNINDENT
111 .SH EXAMPLES
112 .INDENT 0.0
113 .TP
114 .B \fBdnf5 mark user fuse\-devel\fP
115 .nf
116 Mark the \fBfuse\-devel\fP package as user\-installed.
117 .fi
118 .sp
119 .TP
120 .B \fBdnf5 mark group xfce\-desktop vim\-enhanced\fP
121 .nf
122 Mark the \fBvim\-enhanced\fP package as installed by the \fBxfce\-desktop\fP group.
123 .fi
124 .sp
125 .UNINDENT
126 .SH SEE ALSO
127 .INDENT 0.0
128 .INDENT 3.5
129 .nf
130 \fBdnf5\-comps(7)\fP, Comps groups and environments \%<#\:comps-misc-ref-label>
131 \fBdnf5\-specs(7)\fP, Patterns specification \%<#\:specs-misc-ref-label>
132 .fi
133 .sp
134 .UNINDENT
135 .UNINDENT
136 .SH Author
137 See AUTHORS.md in dnf5 source distribution.
138 .SH Copyright
139 Contributors to the dnf5 project.
140 .\" End of generated man page.