.\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .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" "Sep 06, 2026" "" "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. Users can limit the search to specific fields using \fB\-\-name\fP or \fB\-\-summary\fP options. 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). Cannot be used with \fB\-\-name\fP or \fB\-\-summary\fP\&. .fi .sp .TP .B \fB\-\-name\fP .nf Limit the search to the \fIName\fP field only. Cannot be used with \fB\-\-all\fP or \fB\-\-summary\fP\&. .fi .sp .TP .B \fB\-\-summary\fP .nf Limit the search to the \fISummary\fP field only. Cannot be used with \fB\-\-all\fP or \fB\-\-name\fP\&. .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 .TP .B \fBdnf5 search \-\-name firefox\fP .nf Search \fBfirefox\fP keyword only in the \fIName\fP field of packages. .fi .sp .TP .B \fBdnf5 search \-\-summary browser\fP .nf Search \fBbrowser\fP keyword only in the \fISummary\fP field of packages. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-specs(7)\fP, Patterns specification \%<#\:specs-misc-ref-label> .fi .sp .UNINDENT .UNINDENT .SH Author See AUTHORS.md in dnf5 source distribution. .SH Copyright Contributors to the dnf5 project. .\" End of generated man page.