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

In addition to the global options (see apk(8)), and query options (see apk-query(8)) the following options are supported:

--all, -a
    List all information known about the package.

--contents, -L
    List files included in the package.

--depends, -R
    List the dependencies of the package.

--description, -d
    Print the package description.

--exists, --installed, -e
    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: --installed is deprecated and will be removed to allow the same option in query group to function.

--install-if
    List the package's install_if rule. When the dependencies in this list are satisfied, the package will be installed automatically.

--license
    Print the package SPDX license identifier.

--provides, -P
    List what the package provides.

--rdepends, -r
    List reverse dependencies of the package (all other packages which depend on the package).

--replaces
    List the other packages for which this package is marked as a replacement.

--rinstall-if
    List other packages whose install_if rules refer to this package.

--size, -s
    Print the package's installed size.

--triggers, -t
    Print active triggers for the package.

--webpage, -w
    Print the URL for the package's upstream webpage.

--who-owns, -W
    Print the package which owns the specified file.