.\" 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-SEARCH" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-search \- Search Command .SH SYNOPSIS .sp \fBdnf5 search [options] ...\fP .SH DESCRIPTION .sp The \fBsearch\fP command in \fBDNF5\fP is used for searching packages by matching given keywords from the user against various metadata. .sp By default the command searches for all requested keys (AND operation) in \fIName\fP or \fISummary\fP fields from the RPM package metadata. Matching is case\-insensitive and globs are supported. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-all\fP .nf Search patterns also inside \fIDescription\fP and \fIURL\fP fields. By applying this option the search lists packages that match at least one of the keys (OR operation). .fi .sp .TP .B \fB\-\-showduplicates\fP .nf Show all versions of packages, not only the latest ones. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 search kernel\fP .nf Search \fBkernel\fP keyword inside \fIName\fP or \fISummary\fP package metadata fields. .fi .sp .TP .B \fBdnf5 search rpm dbus\fP .nf Search packages having both \fBrpm\fP and \fBdbus\fP keywords inside \fIName\fP or \fISummary\fP fields. .fi .sp .TP .B \fBdnf5 search \-\-all fedora gnome kde\fP .nf Search packages having any of given keywords in \fIName\fP, \fISummary\fP, \fIDescription\fP or \fIURL\fP fields. .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. .