Apt-get: how to check version number before installation?
Peter Garrett
peter.garrett at optusnet.com.au
Mon Dec 10 22:47:10 UTC 2007
On Mon, 10 Dec 2007 16:28:33 -0500
Padraig <padraigrorry at gmail.com> wrote:
> On Dec 10, 2007 4:26 PM, Padraig <padraigrorry at gmail.com> wrote:
>
> > On Dec 10, 2007 4:20 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
> >
> > How can I check what version of a particular program apt-get will
> > > install, before I
> > > install it.
> >
> >
> > sudo apt-get search <what you're looking for>
> >
>
> I'm sorry, that's:
>
> sudo apt-cache search packagename
You don't need sudo here: apt-cache search packagename is OK
But it won;t show versions...
Try
apt-cache madison packagename
or
apt-cache policy packagename
Peter
--
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071211/f13b9217/attachment.sig>
More information about the ubuntu-users
mailing list