pkginfo(1) UNIX System V(Essential Utilities) 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-System V Release 4 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 (that is, query) whether or not a package has been
installed.
-x Designates an extracted listing of package information. It
contains the package abbreviation, package name, package
architecture (if available) and package version (if available).
-l Designates long format, which includes all available
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 (~). The list produced by -v will include
pre-Release 4 packages (with which no version numbers are
associated). Multiple white spaces are 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.
10/89 Page 1
pkginfo(1) UNIX System V(Essential Utilities) pkginfo(1)
pkginst Designates a package by its instance. An instance 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.*. When using this format, enclose the
command line in single quotes to prevent the shell from
interpreting the * character.
-d Defines a device, device, on which the software resides.
device can be a full pathname to a directory or the identifiers
for tape, floppy disk, removable disk, and so on. The special
token ``spool'' may be used to indicate the default
installation spool directory.
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 produced.
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-Release 4 package is only partially
installed. It is assumed that all pre-Release 4 packages are fully
installed.
SEE ALSO
pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkgtrans(1).
Page 2 10/89