apk-search8
Search for packages by name or description
Usage
apk search
[<options> ...]
pattern ...
Overview
apk search searches all repositories for packages matching at least one pattern. If no pattern is given, it lists all packages in the configured repositories (see apk-repositories(5)). A pattern matches if it is a case-insensitive substring of the package name.
Options
In addition to the global options (see apk(8)), and query options (see apk-query(8)) the following options are supported:
-
--all, -a -
Print all matching package versions. By default,
apkonly shows the latest version.
-
--description, -d -
Also search for pattern in the package description. By default,
apkdoes 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
--alland--exact.
-
--origin, -o -
Print base package name.
-
--rdepends, -r -
Print reverse dependencies (other packages which depend on the package).