How can I know to which ubuntu package does a specified file (not on my fs) belongs?
NoOp
glgxg at sbcglobal.net
Thu Mar 31 00:31:58 UTC 2011
On 03/30/2011 02:02 PM, Nils Kassube wrote:
> Kevin Wilson wrote:
>> I want to know how can I find (with apt-get), to which ubuntu package
>> does a certain file (which **does not** exist on my filesystem)
>> belong.
>
> AFAIK apt-get doesn't offer that option but you can install the package
> "apt-file". Then run the command
>
> sudo apt-file update
>
> once and after that you can search for individual files with the command
>
> apt-file search filename
That doesn't seem to work even with installed package files:
$ apt-file search gnome-default-applications.xml
$
That file is provided in the 'capplets-data' package:
http://packages.ubuntu.com/maverick/all/capplets-data/filelist
[/usr/share/gnome-control-center/default-apps/gnome-default-applications.xml]
So it's a good question & one that I'd like to know as well.
(Alan's method is the one that I normally use but just using:
http://packages.ubuntu.com/
[Search the contents of packages|packages that contain files named
like this]
More information about the ubuntu-users
mailing list