Name
pkginfo
Synopsis
pkginfo [options
] [pkginst
...]
With no options, display the primary category, package
instance and names of all installed packages. With
-d
, provide information about the packages on
the given device. With one or more
pkginsts, print information about the named
packages.
The pkginst may be a package name,
optionally followed by a period and a version number to restrict
it to a particular instance. Use .*
to specify all instances.
Options
Options -l
, -q
and
-x
are mutually exclusive, and
-p
and -i
have no meaning if
used with -d
.
-
-a
arch
Use arch for the package’s architecture.
-c
category
[
,
category
...]
Provide information about packages whose
CATEGORY
parameter in the package’s pkginfo file matches one of the given categories.-
-d
device
Use device as the source for the package(s) to be described.
-
-i
Display information only about fully installed packages.
-
-l
Use long format output, which prints all available information.
-
-p
Display information only about partially installed packages.
-
-q
Quiet mode: do not display any information. Useful for scripts which need to check if a package has been installed.
-
-r
Print the installation base for relocatable packages.
-
-R
root-path
Print information about all files under root-path. This is used on server systems when working with packages for clients.
-
-v
version
Use version as the package version (corresponding to the
VERSION
parameter in the pkginfo file). All compatible versions can be requested by prefixing version with a ...
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.