pkginfo(1M) pkginfo(1M)
NAME
pkginfo - display software package information
SYNOPSIS
pkginfo [-q|x|l|L] [-p|i] [-N] [-k] [-a arch] [-v version]
[-c category1[,category2[, ...]]] [pkginst[,pkginst[, ...]]]
pkginfo -d device [-q|x|l|L] [-N] [-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.
OPTIONS
-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.
This option is only worthwhile if a single package instance is
specified.
-x Designates an extracted listing of package information. It con-
tains the package abbreviation, package name, package architec-
ture (if available) and package version (if available).
-l Designates long format, which includes all available information
about the designated package(s).
-L Name of pkginst only.
-p Designates that information should be presented only for par-
tially installed packages.
-i Designates that information should be presented only for fully
installed packages.
-N No pre-SVR4 packages.
-k Check mode. Virtually installed and deinstalled packages (see
pkgadd, pkgrm -ch) are taken into account. The -k option is not
compatible with the -d, -l and -c options.
-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 (~). Multiple white space is replaced with a single space
during version comparison.
Page 1 Reliant UNIX 5.44 Printed 11/98
pkginfo(1M) pkginfo(1M)
-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.
-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 directory.
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.*.
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, -l, and -L are mutually exclusive.
The -k option is not compatible with the -d, -l and -c options.
pkginfo cannot tell if a pre-SVR4 package is only partially installed.
It is assumed that all packages are fully installed.
SEE ALSO
pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkgtrans(1M).
Page 2 Reliant UNIX 5.44 Printed 11/98