what-provides(1) what-utils what-provides(1)

what-provides - determine what package provides a binary in your path

what-provides SOME_BINARY [SOME_OTHER_BINARY ...]

what-provides(1) is a simple program that determines what package provides a specified binary that is in your path.

It's a simple alias for dpkg(1) -S $(which(1) "$i").


$ what-provides cat
coreutils: /bin/cat

dpkg(1), which(1)

This manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL, or on the web at http://www.gnu.org/licenses/gpl.txt.

11 Jan 2011 what-utils