LinuxCommandLibrary

debman

Read man pages from uninstalled packages.

TLDR

Read a man page for a command that is provided by a specified package

$ debman -p [package] [command]
copy


Specify a package version to download
$ debman -p [package]=[version] [command]
copy


Read a man page in a .deb file
$ debman -f [path/to/filename.deb] [command]
copy

SYNOPSIS

debman -f filename [-- man(1) options] name
debman -p package [-- man(1) options] name
debman -p package=version [-- man(1) options] name

DESCRIPTION

debman extracts a Debian package into a temporary directory and displays manual pages from it. If the -f option is used, it will use a local .deb file; if the -p option is used, it will download the named package using debget. If a version number is appended with "=" to the package name, the package of that version will be used (if known to APT).

ENVIRONMENT

debman intentionally ignores any $MANPATH environment variable that might be set, and constructs its own such that only manual pages within the package will be displayed.

SEE ALSO

debget(1)

AUTHOR

debman was written by Colin Watson <cjwatson@debian.org>.

Copied to clipboard