PKGINFO(1) | General Commands Manual | PKGINFO(1) |
pkginfo
— display
software package information
pkginfo |
[-Vh ] [-r
rootdir] {-f
file | -i |
-l ⟨pkgname |
file⟩ | -o
pattern} |
pkginfo
is a package management utility,
which displays information about software packages that are installed on the
system or that reside in a particular directory.
The options are as follows:
-f
file,
--footprint
=fileThis feature is mainly used by pkgmk(8) to create and compare package footprints.
-i
,
--installed
-l
⟨pkgname | file⟩,
--list
=⟨pkgname |
file⟩-o
pattern,
--owner
=pattern-r
rootdir,
--root
=rootdir/
’.
This should be used if you want to display information about a package that is installed on a temporary mounted partition, which is “owned” by another system. By using this option you specify which package database to use.
-V
,
--version
-h
,
--help
Note:
Options -f
/--footprint
,
-i
/--installed
,
-l
/--list
, and
-o
/--owner
are mutually
exclusive.
The pkginfo
utility exits 0 on
success, and >0 if an error occurs.
May 10, 2024 | Zeppe-Lin |