dpkg -S
$ hint owns Debian which package owns a file: dpkg -S /path/to/file $ dpkg -S /usr/bin/xxd vim-common: /usr/bin/xxd $ perldoc -l FindBin /usr/share/perl/5.22/FindBin.pm $ dpkg -S /usr/share/perl/5.22/FindBin.pm dpkg-query: no path found matching pattern /usr/share/perl/5.22/FindBin.pm