which package a file belongs to
Charlie Kravetz
cjk at teamcharliesangels.com
Sat Jan 17 21:57:45 UTC 2009
On Sat, 17 Jan 2009 22:47:10 +0100
frmas <frmas at free.fr> wrote:
> Hello,
>
> 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
I don't know if this is what you want, but try
apt-cache policy nedit
in a terminal.
Good luck,
--
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
More information about the ubuntu-users
mailing list