what-provides(1)

✨ what-provides(1) ✨

okay bestie, welcome to the what-utils corner of the manual, this one is short and sweet and lowkey a lifesaver 🫢


πŸ’– NAME πŸ’–

what-provides β€” figure out what package provides a binary in your path ✨


πŸŽ€ SYNOPSIS πŸŽ€

what-provides SOME_BINARY [SOME_OTHER_BINARY ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So what-provides(1) is literally just a lil program that tells you what package provides a specified binary that's in your path. that's it. that's the whole job. and it eats πŸ’…

fr fr, it's a simple alias for:

dpkg(1) -S $(which(1) "$i")

so like, you ask it about a binary, it asks which(1) where that binary lives, and then it asks dpkg(1) -S who owns that path. match made in heaven, no cap πŸ’–


🌸 EXAMPLE 🌸

$ what-provides cat
coreutils: /bin/cat

iconic. cat? provided by coreutils. mystery solved, main character energy πŸ‘‘


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

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 πŸ“œ


ngl if you're on Debian and you want the full legal text, it's sitting right there in /usr/share/common-licenses/GPL. no excuses bestie, go read it (or don't, but it's there) πŸ™ˆ

and that's the whole page babes πŸ’– this was what-utils version of the page, dated 11 Jan 2011 β€” short, sweet, slay βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from