http://packages.debian.org allows searching for packages, or files.

On Tue, 2005-05-17 at 18:49 -0500, Robert Citek wrote:
> On May 17, 2005, at 5:23 PM, Robert Citek wrote:
> > How do a find the name of a package that provides a file using apt?
> 
> Answer: trial-and-error
> 
> Sometimes the shotgun method works well:
> 
>    $ pkglist=$(apt-cache search xml2 | grep -i xml2 | awk '{print $1}')
>    $ apt-get install $pkglist
>    $ dpkg -S xml2-config
>    libxml2-dev: /usr/bin/xml2-config
>    libxml2-dev: /usr/share/man/man1/xml2-config.1.gz
>    $ apt-get remove $pkglist
> 
> Regards,
> - Robert
> http://www.cwelug.org/downloads
> Help others get OpenSource software.  Distribute FLOSS
> for Windows, Linux, *BSD, and MacOS X with BitTorrent
> 
> 
>  
> _______________________________________________
> CWE-LUG mailing list
> [email protected]
> http://www.cwelug.org/
> http://www.cwelug.org/archives/
> http://www.cwelug.org/mailinglist/

-- 
Paul Nicholas McCubbins <[EMAIL PROTECTED]>

 
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to