pkginfo(1) USER COMMANDS pkginfo(1)
NAME
pkginfo - display software package information
SYNOPSIS
pkginfo [-q|x|l] [-p|i] [-a arch] [-v version]
[-c category1,[category2[, ...]]] [pkginst[,pkginst[, ...]]]
pkginfo [-d device [-q|x|l] [-a arch] [-v version]
[-c category1,[category2[, ...]]] [pkginst[,pkginst[, ...]]]
DESCRIPTION
pkginfo displays information about software packages which
are installed on the system (with the first synopsis) or
which reside on a particular device or directory (with the
second synopsis). Only the package name and abbreviation
for pre-SVR4 packages will be included in the display.
The options for this command are:
-q Does not list any information, but can be used
from a program to check (i.e., query) whether or
not a package has been installed.
-x Designates an extracted listing of package infor-
mation. It contains the package abbreviation,
package name, package architecture (if available)
and package version (if available).
-l Designates long format, which includes all avail-
able information about the designated package(s).
-p Designates that information should be presented
only for partially installed packages.
-i Designates that information should be presented
only for fully installed packages.
-a Specifies the architecture of the package as arch.
-v Specifies the version of the package as version.
"All compatible versions" can be requested by
preceding the version name with a tilde (~). Mul-
tiple white space is replaced with a single space
during version comparison.
-c Selects packages to be display based on the
category category. (Categories are defined in the
category field of the pkginfo file.) If more than
one category is supplied, the package must only
match one of the list of categories. The match is
not case specific.
pkginst Designates a package by its instance. An instance
1
pkginfo(1) USER COMMANDS pkginfo(1)
can be the package abbreviation or a specific
instance (for example, inst.1 or inst.beta). All
instances of package can be requested by inst.*.
-d Defines a device, device, on which the software
resides. device can be a directory pathname or
the identifiers for tape, floppy disk, removable
disk, etc. The special token "spool" may be used
to indicate the default installation spool direc-
tory.
NOTES
Without options, pkginfo lists the primary category, package
instance, and name of all completely installed and partially
installed packages. One line per package selected is pro-
duced.
The -p and -i options are meaningless if used in conjunction
with the -d option.
The options -q, -x, and -l are mutually exclusive.
pkginfo cannot tell if a pre-SVR4 package is only partially
installed. It is assumed that all pre-SVR4 packages are
fully installed.
SEE ALSO
pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkgtrans(1).
2