DNF5-SEARCH(8)
π dnf5-search β bestie, let's go find some packages
okay so this is the dnf5-search page from the dnf5 manual, and honestly? it's giving detective era πβ¨ we're gonna hunt down packages by keyword and it's gonna be so fun.
β¨ SYNOPSIS β¨
dnf5 search [options] <pattern>...
like, you give it some patterns, it gives you packages. that's the whole vibe. π«Ά
πΈ DESCRIPTION πΈ
so the search command in DNF5 is literally made for searching packages β it takes the keywords you typed in and matches them against various metadata like the nosy little icon it is. π
by default, it searches for all the keys you asked for (AND operation, bestie β every single one has to hit) inside the Name or Summary fields from the RPM package metadata.
but wait, there's more β¨ you can limit the search to specific fields using --name or --summary. and matching is case-insensitive (so don't stress about caps, she doesn't care) and globs are supported. π¦
π OPTIONS π
--allβ search patterns also insideDescriptionandURLfields. and when you apply this option, the search lists packages that match at least one of the keys (OR operation, so way more chill than AND). β οΈ cannot be used with--nameor--summary.--nameβ limit the search to theNamefield only. that's it, that's the whole field. π― cannot be used with--allor--summary.--summaryβ limit the search to theSummaryfield only. π¬ cannot be used with--allor--name.--showduplicatesβ show all versions of packages, not only the latest ones. lowkey iconic when you need the older ones. π₯
not me warning you that--all,--nameand--summaryare a pick one situation β they refuse to share the aux, no cap. π
π EXAMPLES π
here's where it gets fun, bestie, run these:
dnf5 search kernel
search kernel keyword inside Name or Summary package metadata fields.
dnf5 search rpm dbus
search packages having both rpm and dbus keywords inside Name or Summary fields. (yes, both. AND energy. π
)
dnf5 search --all fedora gnome kde
search packages having any of the given keywords in Name, Summary, Description or URL fields. OR energy, we love her. β¨
dnf5 search --name firefox
search firefox keyword only in the Name field of packages.
dnf5 search --summary browser
search browser keyword only in the Summary field of packages.
π¦ SEE ALSO π¦
dnf5-specs(7)- Patterns specification
<#specs-misc-ref-label>
go read those too, iykyk. ππ
π Author
See AUTHORS.md in dnf5 source distribution. (they ate, fr fr π«Ά)
π Copyright
Contributors to the dnf5 project.
and that's the whole page, bestie!! πβ¨ this absolute main character of a manpage dropped as part of the dnf5 manual, dated Sep 24, 2026 β screenshot it, bookmark it, memorize it, slay. π πΈ bye!! π¦
π¦ where this page comes from
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms