.\" Generated by scdoc 1.11.4 .\" 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-info" "8" "2026-04-13" .PP .SH NAME .PP apk info - print detailed information about packages .PP .SH SYNOPSIS .PP \fBapk info\fR [<\fIoptions\fR>.\&.\&.\&] \fIpackages\fR.\&.\&.\& .PP \fBapk info\fR -W \fIfile\fR .PP .SH DESCRIPTION .PP \fBapk info\fR prints information known about the listed packages.\& By default, it prints the description, webpage, and installed size of the package (equivalent to \fBapk info -dws\fR).\& .PP Each field printed is prefaced by the name of the package and its package version, then the field to be displayed, and a newline.\& The following lines display the appropriate information, then an empty line terminates that field.\& .PP \fBapk info -W\fR \fIfile\fR prints the package which owns the specified file.\& .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 List all information known about the package.\& .PP .RE \fB--contents\fR, \fB-L\fR .RS 4 List files included in the package.\& .PP .RE \fB--depends\fR, \fB-R\fR .RS 4 List the dependencies of the package.\& .PP .RE \fB--description\fR, \fB-d\fR .RS 4 Print the package description.\& .PP .RE \fB--exists\fR, \fB--installed\fR, \fB-e\fR .RS 4 Check package installed status.\& For each installed package, print it'\&s name.\& The exit status is the number of given packages not installed.\& Thus, zero (or success) is returned if all named packages are installed.\& NOTE: \fB--installed\fR is deprecated and will be removed to allow the same option in \fBquery\fR group to function.\& .PP .RE \fB--install-if\fR .RS 4 List the package'\&s install_if rule.\& When the dependencies in this list are satisfied, the package will be installed automatically.\& .PP .RE \fB--license\fR .RS 4 Print the package SPDX license identifier.\& .PP .RE \fB--provides\fR, \fB-P\fR .RS 4 List what the package provides.\& .PP .RE \fB--rdepends\fR, \fB-r\fR .RS 4 List reverse dependencies of the package (all other packages which depend on the package).\& .PP .RE \fB--replaces\fR .RS 4 List the other packages for which this package is marked as a replacement.\& .PP .RE \fB--rinstall-if\fR .RS 4 List other packages whose install_if rules refer to this package.\& .PP .RE \fB--size\fR, \fB-s\fR .RS 4 Print the package'\&s installed size.\& .PP .RE \fB--triggers\fR, \fB-t\fR .RS 4 Print active triggers for the package.\& .PP .RE \fB--webpage\fR, \fB-w\fR .RS 4 Print the URL for the package'\&s upstream webpage.\& .PP .RE \fB--who-owns\fR, \fB-W\fR .RS 4 Print the package which owns the specified file.\& .RE