What package provides file xyz?

Jonathan Hudson jh+ubuntu at daria.co.uk
Sun Apr 9 09:58:52 UTC 2006


Daniel Carrera wrote:
> Hello,
> 
> How would I find the name of the package that provided me with the file
> '/path/to/file' ?

The following works for me

apt-get install apt-file
apt-file update

apt-file search /path/to/foo

And I re-run apt-file update whenever I dist-upgrade.

-jonathan





More information about the ubuntu-users mailing list