apk-search(8)

✨ NAME ✨

Okay bestie, welcome to apk-search(8) from the System Manager’s Manual β€” it’s literally the β€œsearch for packages by name or description” era, and it ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

apk search [<options>...] pattern...

πŸ’– DESCRIPTION πŸ’–

So apk search digs through all repositories for packages that match at least one pattern. No cap.

If you don’t give it any pattern, it just lists every package in the configured repositories (peep apk-repositories(5)). Casual.

A pattern matches when it’s a case-insensitive substring of the package name β€” yes, case vibes do not matter here ✨


πŸŽ€ OPTIONS πŸŽ€

On top of the global options (peep apk(8)) and the query options (peep apk-query(8)), these are supported:

  • --all, -a β€” print all matching package versions. By default, apk only shows the latest version.
  • --description, -d β€” also search for pattern in the package description. By default, apk does not search package descriptions.
  • --exact, -e, -x β€” match package names exactly.
  • --has-origin β€” match by package origin. Shows all packages whose base package name matches pattern exactly. Implies --all and --exact.
  • --origin, -o β€” print base package name.
  • --rdepends, -r β€” print reverse dependencies (other packages which depend on the package).
Implication alert: --has-origin is out here implying --all and --exact, so you don’t have to say it twice πŸ’…

That’s the whole apk-search(8) moment, dated 2026-11-02 β€” iconic manual page behavior, honestly. Bye bestie, happy searching 🫢✨

πŸ“¦ where this page comes from