Wednesday, August 10, 2011

whatprovides for deb

It took me long enough.

I've often wanted to learn which package installed a given file (e.g., /bin/nc or /bin/vim). It was never important enough to actually read the manual for, however :-). And my google incantations weren't quite right.

Finally I see that it's


dpkg -S [filename]


that's a lot less typing than for rpm :-).

No comments: