Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkgtrans(1)

pkgadd(1M)

pkgask(1M)

pkgchk(1M)

pkgrm(1M)

pkginfo(1)  —  USER COMMANDS

NAME

pkginfo − display software package information

SYNOPSIS

pkginfo [ −q ] [ −x|−l ] [ −p|−i ] [ −r ] [ −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). 

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.∗. 

Without options, pkginfo lists the primary category, package instance, and the names of all completely installed and partially installed packages.  One line per package selected is produced. 

OPTIONS

−q Do not list any information.  Used from a program to check (as with, query) whether or not a package has been installed. 

−x Designate an extracted listing of package information.  It contains the package abbreviation, package name, package architecture (if available) and package version (if available). 

−l Specify long format, which includes all available information about the designated package(s). 

−p Display information for partially installed packages only. 

−i Display information for fully installed packages only. 

−r List the installation base for relocatable packages. 

−a arch Specify the architecture of the package as arch. 

−v version Specify 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. 

−c category Display packages matching 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 device Defines a device, device, on which the software resides.  device can be an absolute directory pathname or the identifiers for tape, floppy disk, removable disk, and so forth.  The special token spool may be used to indicate the default installation spool directory (/var/spool/pkg). 

SEE ALSO

pkgtrans(1), pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M)

NOTES

The −p and −i options are meaningless if used in conjunction with the −d option. 

The options −q, −x, and −l are mutually exclusive. 

Solbourne Computer, Inc.  —  29 Dec 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026