2020-01-08 01:32:05 +00:00
|
|
|
apk-info(8)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
apk info - print detailed information about packages
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
*apk info* [<_options_>...] _packages_...
|
|
|
|
|
|
|
|
*apk info* -W _file_
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
*apk info* prints information known about the listed packages. By default, it
|
|
|
|
prints the description, webpage, and installed size of the package (equivalent
|
|
|
|
to *apk info -dws*).
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
*apk info -W* _file_ prints the package which owns the specified file.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
*-a, --all*
|
|
|
|
List all information known about the package.
|
|
|
|
|
|
|
|
*-d, --description*
|
|
|
|
Print the package description.
|
|
|
|
|
|
|
|
*-e, --installed*
|
2020-05-04 12:24:58 +00:00
|
|
|
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.
|
2020-01-08 01:32:05 +00:00
|
|
|
|
|
|
|
*-L, --contents*
|
|
|
|
List files included in the package.
|
|
|
|
|
2021-06-18 21:10:27 +00:00
|
|
|
*-P, --provides*
|
|
|
|
List what the package provides.
|
|
|
|
|
2020-01-08 01:32:05 +00:00
|
|
|
*-r, --rdepends*
|
|
|
|
List reverse dependencies of the package (all other packages which
|
|
|
|
depend on the package).
|
|
|
|
|
|
|
|
*-R, --depends*
|
|
|
|
List the dependencies of the package.
|
|
|
|
|
|
|
|
*-s, --size*
|
|
|
|
Print the package's installed size.
|
|
|
|
|
|
|
|
*-w, --webpage*
|
|
|
|
Print the URL for the package's upstream webpage.
|
|
|
|
|
|
|
|
*-W, --who-owns*
|
|
|
|
Print the package which owns the specified file.
|
|
|
|
|
2021-01-17 13:00:44 +00:00
|
|
|
*--install-if*
|
|
|
|
List the package's install_if rule. When the dependencies in this list
|
|
|
|
are satisfied, the package will be installed automatically.
|
|
|
|
|
2020-01-08 01:32:05 +00:00
|
|
|
*--license*
|
|
|
|
Print the package SPDX license identifier.
|
|
|
|
|
|
|
|
*--replaces*
|
|
|
|
List the other packages for which this package is marked as a
|
|
|
|
replacement.
|
|
|
|
|
2021-01-17 13:00:44 +00:00
|
|
|
*--rinstall-if*
|
|
|
|
List other packages whose install_if rules refer to this package.
|
|
|
|
|
2020-01-08 01:32:05 +00:00
|
|
|
*--triggers*
|
|
|
|
Print active triggers for the package.
|