From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 18:17:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B917C37B401 for ; Mon, 14 Apr 2003 18:17:17 -0700 (PDT) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2457E43FBD for ; Mon, 14 Apr 2003 18:17:17 -0700 (PDT) (envelope-from steffl@bigfoot.com) Received: from bigfoot.com (woodpecker.corp.yahoo.com [207.126.234.69]) h3F1H8p80032 for ; Mon, 14 Apr 2003 18:17:08 -0700 (PDT) Message-ID: <3E9B5D94.4070401@bigfoot.com> Date: Mon, 14 Apr 2003 18:17:08 -0700 From: Erik Steffl User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030227 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD User Questions List References: <3E9B5A56.2070609@yahoo-inc.com> <1050368712.69920.39.camel@shumai.marcuscom.com> In-Reply-To: <1050368712.69920.39.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: how to find which package contains file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 01:17:18 -0000 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