Debian Codegraph @

upstream/opensuse-leap-16-1/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" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-mark \- Mark Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 mark <subcommand> [global options] [<group\-id>] <package\-spec>...\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\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 .SH EXAMPLES
93 .INDENT 0.0
94 .TP
95 .B \fBdnf5 mark user fuse\-devel\fP
96 .nf
97 Mark the \fBfuse\-devel\fP package as user\-installed.
98 .fi
99 .sp
100 .TP
101 .B \fBdnf5 mark group xfce\-desktop vim\-enhanced\fP
102 .nf
103 Mark the \fBvim\-enhanced\fP package as installed by the \fBxfce\-desktop\fP group.
104 .fi
105 .sp
106 .UNINDENT
107 .SH SEE ALSO
108 .INDENT 0.0
109 .INDENT 3.5
110 .nf
111 \fBdnf5\-comps(7)\fP, \fI\%Comps groups and environments\fP
112 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
113 .fi
114 .sp
115 .UNINDENT
116 .UNINDENT
117 .SH AUTHOR
118 See AUTHORS.md in dnf5 source distribution.
119 .SH COPYRIGHT
120 Contributors to the dnf5 project.
121 .\" Generated by docutils manpage writer.
122 .