[OOZY] How to know if a program is available in the repository and its version

OOzy Pal oozypal at gmail.com
Mon May 8 11:17:26 UTC 2006


On 5/8/06, Peter Garrett <peter.garrett at optusnet.com.au> wrote:
> On Mon, 08 May 2006 11:49:03 +0200
> Christoph Bier <christoph.bier at web.de> wrote:
>
> > Chris Neary schrieb am 08.05.2006 11:31:
> >
> > > apt-cache search nameoftheprogram
> > > or
> > > apt-cache show exactnameoftheprogram
> > >
> > > There's a way to show the installed version as well, surely. [...]
> >
> > dpkg -l <package>
> >
> > Shows the state of the package (installed, not installed, configured
> > ...), the version, and a short description.
>
> Another useful tool is apt-cache policy
>
> For example:
> $ apt-cache policy sylpheed
> sylpheed:
>   Installed: 2.1.1-1ubuntu0.1
>   Candidate: 2.1.1-1ubuntu0.1
>   Version table:
>  *** 2.1.1-1ubuntu0.1 0
>         500 http://security.ubuntu.com breezy-security/universe Packages
>         100 /var/lib/dpkg/status
>      2.1.1-1 0
>         500 http://au.archive.ubuntu.com breezy/universe Packages
>
>
> Peter
>
> ---
> "Hyperlinks subvert hierarchy."
>
> -The Cluetrain Manifesto
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

NICE NICE NICE.

Thank you all. Really nice stuff.
--
OOzy




More information about the ubuntu-users mailing list