next up previous contents index
Next: -C | --audit Up: Package System Information Options Previous: -l | --list [<package   Contents   Index

-S | --search <search file pattern>


The package containing the file described by <search file pattern> is returned by this option. Both the package and the location of the file are displayed in the output. To deviate from our current example, with something a little more informative, the following command:

dpkg -S whereis

creates the output:

util-linux: /usr/bin/whereis
util-linux: /usr/share/man/man1/whereis.1.gz

providing the information that this program is available in the package called util-linux. Installing that package will provide the whereis program.


Dale Scheetz