Using packaging tools to get help

The rpm packaging tool that is used by the Red Hat, SuSe, Caldera and Mandrake distributions has a switch (-qd) that will list the documentation files that come with a package.

For example, the following command will list the documentation that comes as part of the bash package:

        [~/]> rpm -qd bash


As far as I know, the Debian packaging tool (dpkg) doesn't have a similar option, but you can use the -L switch to list the contents of the package, which will show you all of the files, including the documentation:

        [~/]> dpkg -L bash

Prev - Index - Next