Debian Codegraph @

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