Debian Codegraph @

upstream/debian-unstable/man8/dnf5-provides.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-PROVIDES" "8" "May 09, 2026" "" "dnf5"
32 .SH NAME
33 dnf5-provides \- Provides Command
34 .SH SYNOPSIS
35 .sp
36 \fBdnf5 provides [global options] <package\-spec\-PFB>...\fP
37 .SH DESCRIPTION
38 .sp
39 The \fBprovides\fP command in \fBDNF5\fP finds the packages providing the given \fB<package\-spec\-PFB>\fP\&.
40 .SH EXAMPLES
41 .INDENT 0.0
42 .TP
43 .B \fBdnf5 provides tito\fP
44 .nf
45 Outputs which packages provide the command \fBtito\fP\&.
46 .fi
47 .sp
48 .TP
49 .B \fBdnf5 provides /usr/bin/tito\fP
50 .nf
51 Outputs which package provides the file \fB/usr/bin/tito\fP
52 .fi
53 .sp
54 .TP
55 .B \fBdnf5 provides zless\fP
56 .nf
57 There is no \fBProvides\fP for zless but a package that contains \fBzless\fP exist.
58 Outputs the package that provides the file \fB/usr/bin/zless\fP
59 .fi
60 .sp
61 .UNINDENT
62 .sp
63 \fBNote:\fP
64 .INDENT 0.0
65 .INDENT 3.5
66 New behavior: if one or more packages are not found by provides DNF5 will now return
67 exit code 1 and list all provides that do not match at the end of the output.
68 .UNINDENT
69 .UNINDENT
70 .INDENT 0.0
71 .TP
72 .B \fBdnf5 provides rpm nonexistent_package\fP
73 .nf
74 Output provides for \fBrpm\fP and inform in \fBstderr\fP that \fBnonexistent_package\fP
75 did not match any result.
76 .fi
77 .sp
78 .UNINDENT
79 .SH SEE ALSO
80 .INDENT 0.0
81 .INDENT 3.5
82 .nf
83 \fBdnf5\-specs(7)\fP, Patterns specification \%<#\:specs-misc-ref-label>
84 .fi
85 .sp
86 .UNINDENT
87 .UNINDENT
88 .SH Author
89 See AUTHORS.md in dnf5 source distribution.
90 .SH Copyright
91 Contributors to the dnf5 project.
92 .\" End of generated man page.