viewpkg − Show information about a package file
viewpkg [options] package_filename [pkg_file_2 ...]
viewpkg takes one or more package files and prints information about them to the standard output. The fields shown can be specified using the options. If no options are given viewpkg defaults to −NsdFi. The fields are always shown in the same order: name, sizes, description, file list, installation script.
−n, −−name
Show the package filename including path in one line as specified on the command line.
−N, −−verbose-name
Show the package filename and location in two lines.
−s, −−size
Calculate and show the package compressed and uncompressed (disk usage when installed) sizes.
−d, −−description
Show the package description. This is hopefully the most human readable format.
−D, −−verbose-description
Show the package description with each description line prefixed with package basename (i.e. like the description is written in slack-desc).
−R, −−raw-description
Show the whole slack-desc file as is.
−f, −−filelist
Show the list of files and directories in the package. This is equivalent to tar tf package_filename.
−F, −−verbose-filelist
Show the list of files and directories with ownership and permission information. This is equivalent to tar tvf package_filename.
−i, −−installscript
Show the package installation script (doinst.sh).
−q, −−quiet
Suppress headers and delimiters, thus making the output less human readable. Can be useful in some scripts.
Lasse Collin <lasse.collin at tukaani.org>, Ville Koskinen <w−ber at iki.fi>
pkgtool(8), installpkg(8), removepkg(8), upgradepkg(8), explodepkg(1), makepkg(1), convertpkg(1), slackrepo(1), tar(1)