.deb pakage querys

Wulfy wulfmann at tiscali.co.uk
Thu Mar 20 15:38:17 UTC 2008


Robert Holtzman wrote:
> In distros using RPM package management a simple "rpm -q <package name>" 
> reveals whether a package is installed and what version it is. I've been 
> checking man pages for aptitude and apt-get and can't find the same 
> capability. Aptitude has an option which gives package information but 
> doesn't seem to indicate whether the package is installed. "Aptitude 
> search <package name>" seems to show whether the package is installed but 
> gives no version information.
>
> Can someone tell me what I'm missing?
>
> Thanks
>
>   
apt-cache policy <package-name>

-- 
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz





More information about the ubuntu-users mailing list