What package provides file xyz?

Daniel Carrera daniel.carrera at zmsl.com
Sun Apr 9 10:06:49 UTC 2006


Mario Vukelic wrote:
>>How would I find the name of the package that provided me with the
>>file 
>>'/path/to/file' ?
> 
> dpkg -S <path or name> on the command line, or you can look it up on
> http://packages.ubuntu.com (scroll down)

Thanks!

daniel at Agape:~$ sudo dpkg -S /usr/bin/java
dpkg: /usr/bin/java not found.


This means that my java was not provided by any package?

How can I find out what files are provided by the package java-common? 
There's something strange going on here. I think I might have two or 
more Javas installed.

Cheers,
Daniel.
-- 
      /\/`) http://opendocumentfellowship.org
     /\/_/
    /\/_/   A life? Sounds great!
    \/_/    Do you know where I could download one?
    /




More information about the ubuntu-users mailing list