Linuxconf
Ewan Mac Mahon
ewan at macmahon.me.uk
Mon Mar 27 20:15:14 UTC 2006
On Mon, Mar 27, 2006 at 08:54:49PM +0100, Daniel Carrera wrote:
> Darryl Clarke wrote:
> >>Does anyone know how I can find the package that provides a given file?
> >>
> >>Daniel.
> >
> >http://packages.ubuntu.com/
>
> No, you don't understand. Read what I wrote again. Give the file name
> "foo" how can I find the package that provides that file? This
> information must be provided by the package manager.
>
packages.ubuntu.com can do that too, and has the advantage over dpkg of
working on packages that aren't installed, as well as those that are.
That means you can use it to find which package you would need to get a
certain file, in addition to working out what's responsible for a file
you do have.
> Gavin has the answer:
>
> $ dpkg -S /usr/bin/network-admin
> gnome-system-tools: /usr/bin/network-admin
It's /an/ answer - not /the/ answer.
Ewan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060327/999cdfd8/attachment.sig>
More information about the ubuntu-users
mailing list