Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-search.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-SEARCH" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-search \- Search Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 search [options] <pattern>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBsearch\fP command in \fBDNF5\fP is used for searching packages by matching
39 given keywords from the user against various metadata.
40 .sp
41 By default the command searches for all requested keys (AND operation) in
42 \fIName\fP or \fISummary\fP fields from the RPM package metadata. Matching is
43 case\-insensitive and globs are supported.
44 .SH OPTIONS
45 .INDENT 0.0
46 .TP
47 .B \fB\-\-all\fP
48 .nf
49 Search patterns also inside \fIDescription\fP and \fIURL\fP fields.
50 By applying this option the search lists packages that match at least one of the keys (OR operation).
51 .fi
52 .sp
53 .TP
54 .B \fB\-\-showduplicates\fP
55 .nf
56 Show all versions of packages, not only the latest ones.
57 .fi
58 .sp
59 .UNINDENT
60 .SH EXAMPLES
61 .INDENT 0.0
62 .TP
63 .B \fBdnf5 search kernel\fP
64 .nf
65 Search \fBkernel\fP keyword inside \fIName\fP or \fISummary\fP package metadata fields.
66 .fi
67 .sp
68 .TP
69 .B \fBdnf5 search rpm dbus\fP
70 .nf
71 Search packages having both \fBrpm\fP and \fBdbus\fP keywords inside \fIName\fP or \fISummary\fP fields.
72 .fi
73 .sp
74 .TP
75 .B \fBdnf5 search \-\-all fedora gnome kde\fP
76 .nf
77 Search packages having any of given keywords in \fIName\fP, \fISummary\fP, \fIDescription\fP or \fIURL\fP fields.
78 .fi
79 .sp
80 .UNINDENT
81 .SH SEE ALSO
82 .INDENT 0.0
83 .INDENT 3.5
84 .nf
85 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
86 .fi
87 .sp
88 .UNINDENT
89 .UNINDENT
90 .SH AUTHOR
91 See AUTHORS.md in dnf5 source distribution.
92 .SH COPYRIGHT
93 Contributors to the dnf5 project.
94 .\" Generated by docutils manpage writer.
95 .