how to find which package contains file?

Erik Steffl steffl at bigfoot.com
Mon Apr 14 18:17:18 PDT 2003


Joe Marcus Clarke wrote:

>On Mon, 2003-04-14 at 21:03, Erik Steffl wrote:
>  
>
>>   is it possible to find which package contains file?
>>
>>   Let's say I know that I need libiconv.so.1 library (just an example), 
>>which package do I need to install?
>>    
>>
>
>If you have the package and file already installed on your system:
>
>pkg_info -W /path/to/file
>  
>
  thanks but what about the situation described abovwe - when I am 
trying to find which package to install when there's some file missing? 
(usually a library but could be something else).

    erik



More information about the freebsd-questions mailing list