What package provides file xyz?

Dennis Kaarsemaker dennis at kaarsemaker.net
Sun Apr 9 11:13:05 UTC 2006


On zo, 2006-04-09 at 10:31 +0100, Daniel Carrera wrote:
> Hello,
> 
> How would I find the name of the package that provided me with the file 
> '/path/to/file' ?

dpkg -S $(readlink -f /path/to/file)
-- 
Dennis K.
 - Linux for human beings - http://www.ubuntu.com
 - Linux voor iedereen - http://www.ubuntu-nl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060409/a84d68b2/attachment.sig>


More information about the ubuntu-users mailing list