.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-MARK" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-mark \- Mark Command .SH SYNOPSIS .sp \fBdnf5 mark [global options] [] ...\fP .SH DESCRIPTION .sp The \fBmark\fP command in \fBDNF5\fP is used to change reason of installed packages defined in \fBpackage\-spec\fP arguments. .SH SUBCOMMANDS .INDENT 0.0 .TP .B \fBuser\fP .nf Mark the package as user\-installed. .fi .sp .sp This can be useful if any package was installed as a dependency and is desired to stay on the system when \fBremove\fP command along with \fBclean_requirements_on_remove\fP configuration option set to \fBTrue\fP is executed. .TP .B \fBdependency\fP .nf Mark the package as a dependency. .fi .sp .sp This can be useful if you as the user don\(aqt need a specific package. The package stays installed on the system, but will be removed when \fBremove\fP command along with \fBclean_requirements_on_remove\fP configuration option set to \fBTrue\fP is executed. .sp You should use this operation instead of \fBremove\fP command if you\(aqre not sure whether the package is a requirement of other user installed package on the system. .TP .B \fBweak\fP .nf Mark the package as a weak dependency. .fi .sp .UNINDENT .INDENT 0.0 .TP .B \fBgroup\fP .nf Mark the package as installed by the group defined in \fBgroup\-id\fP argument. .fi .sp .sp This can be useful if any package was installed as a dependency or the user and is desired to be protected and handled as a group member like during \fBgroup remove\fP command. .UNINDENT .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-skip\-unavailable\fP .nf Allow skipping packages that are not installed on the system. All remaining installed packages will be marked. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 mark user fuse\-devel\fP .nf Mark the \fBfuse\-devel\fP package as user\-installed. .fi .sp .TP .B \fBdnf5 mark group xfce\-desktop vim\-enhanced\fP .nf Mark the \fBvim\-enhanced\fP package as installed by the \fBxfce\-desktop\fP group. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-comps(7)\fP, \fI\%Comps groups and environments\fP \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP .fi .sp .UNINDENT .UNINDENT .SH AUTHOR See AUTHORS.md in dnf5 source distribution. .SH COPYRIGHT Contributors to the dnf5 project. .\" Generated by docutils manpage writer. .