which package a file belongs to

frmas frmas at free.fr
Sat Jan 17 21:47:10 UTC 2009


I'm looking for the tool (dpkg ?) and command line parameters, that will
give me the package (name and version), a file on my HD belongs to.
Something like :
dpkg --search | grep /usr/bin/nedit ??

Result : nedit_1.5.5-2ubuntu3.deb

Thank you. Francois

More information about the ubuntu-users mailing list