[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to identify the package containing a file?



On Sat, Sep 12, 2009 at 8:15 AM, Umarzuki Mochlis <umarzuki@gmail.com> wrote:
> 2009/9/12 Robert P. J. Day <rpjday@crashcourse.ca>:
>>
>>  dumb question but how do i identify the package that contributed a
>> specific file to my installation?  on my fedora system, i'd ask:
>>
>>  $ rpm -qf <filename>
>
> on debian
> $ dpkg -S <filename>

Or install apt-file and run

$ apt-file search <filename>

This will return matches in packages that aren't installed, as well,
so you can find out what you *need* to install to get a particular
file, which can be very useful.

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com


Reply to: