How can I know to which ubuntu package does a specified file (not on my fs) belongs?

Nils Kassube kassube at gmx.net
Wed Mar 30 21:02:21 UTC 2011


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


Nils




More information about the ubuntu-users mailing list