Re: extract package name given a filename
On Wed, 7 Jan 2009, Harry Putnam wrote:
> Last time I ran debian was several yrs ago.. back then I learned a way
> using dpkg to extract the packagename of files found on the
> machine... Assuming they came in using apt and dpkg.
>
> I even kept a note about it which of course is no where to be found
> now that I need it again.
>
> Anyone know how to find which package installed a give file?
something like this:
$ dpkg -S /bin/bash
bash: /bin/bash
--
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
Reply to: