.\" 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-PROVIDES" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-provides \- Provides Command .SH SYNOPSIS .sp \fBdnf5 provides [global options] ...\fP .SH DESCRIPTION .sp The \fBprovides\fP command in \fBDNF5\fP finds the packages providing the given \fB\fP\&. It can match specs by \fBProvides\fP or by filename. .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 provides tito\fP .nf Outputs which packages provide the command \fBtito\fP\&. .fi .sp .TP .B \fBdnf5 provides /usr/bin/tito\fP .nf Outputs which package provides the file \fB/usr/bin/tito\fP .fi .sp .TP .B \fBdnf5 provides zless\fP .nf There is no \fBProvides\fP for zless but a package that contains \fBzless\fP exist. Outputs the package that provides the file \fB/usr/bin/zless\fP .fi .sp .UNINDENT .sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 New behavior: if one or more packages are not found by provides DNF5 will now return exit code 1 and list all provides that do not match at the end of the output. .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fBdnf5 provides rpm nonexistent_package\fP .nf Output provides for \fBrpm\fP and inform in \fBstderr\fP that \fBnonexistent_package\fP did not match any result. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \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. .