Command to find the source package of a binary?

Posted by Delan Azabani on Super User See other posts from Super User or by Delan Azabani
Published on 2010-05-30T07:17:22Z Indexed on 2010/05/30 7:22 UTC
Read the original article Hit count: 283

Filed under:
|
|
|
|

I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there such a command? If so, what is it? I'd like to be able to run this:

commandName ls

and get

coreutils

for example.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu