.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "apk\-search" "8" "2026\-08\-31" .PP .SH NAME .PP apk search \- search for packages by name or description .PP .SH SYNOPSIS .PP \fBapk search\fR [<\fIoptions\fR>.\&.\&.\&] \fIpattern\fR.\&.\&.\& .PP .SH DESCRIPTION .PP \fBapk search\fR searches all repositories for packages matching at least one pattern.\& If no pattern is given, it lists all packages in the configured repositories (see \fBapk\-repositories\fR(5)).\& A pattern matches if it is a case\-insensitive substring of the package name.\& .PP .SH OPTIONS .PP In addition to the global options (see \fBapk\fR(8)), and query options (see \fBapk\-query\fR(8)) the following options are supported: .PP \fB\-\-all\fR, \fB\-a\fR .RS 4 Print all matching package versions.\& By default, \fBapk\fR only shows the latest version.\& .PP .RE \fB\-\-description\fR, \fB\-d\fR .RS 4 Also search for \fIpattern\fR in the package description.\& By default, \fBapk\fR does not search package descriptions.\& .PP .RE \fB\-\-exact\fR, \fB\-e\fR, \fB\-x\fR .RS 4 Match package names exactly.\& .PP .RE \fB\-\-has\-origin\fR .RS 4 Match by package origin.\& Shows all packages whose base package name matches \fIpattern\fR exactly.\& Implies \fB\-\-all\fR and \fB\-\-exact\fR.\& .PP .RE \fB\-\-origin\fR, \fB\-o\fR .RS 4 Print base package name.\& .PP .RE \fB\-\-rdepends\fR, \fB\-r\fR .RS 4 Print reverse dependencies (other packages which depend on the package).\& .RE