PDA

View Full Version : Finding out program versions in a release


Vesa Paatero
May 20th, 2008, 05:35 PM
Hi,

You may sometimes wonder if the newest Ubuntu release contains a certain version of an application, like "Hmm, my present Ubuntu has OpenOffice 2.2. I wonder if Hardy has the new 2.4 already?"

The best way that I found is to go to ftp.ubuntu.com and navigate through the directory structure to the distro and main/universe/multiverse section and the platform-specific binary directory, e.g.:

ftp://ftp.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64

There, a file called Packages.gz or something similar tells you which packages belong to the distro, along with information about version. Unpack the file (e.g. "gzip -d Packages.gz"), open it and search for the package of interest. The words "Package: openoffice" seem would be good for the OpenOffice example.

If you know better method for this, please let me know.

Vesa

Tiftof
May 21st, 2008, 08:42 AM
just search on this site: http://packages.ubuntu.com

FerN(SA)
May 21st, 2008, 08:48 AM
Most of the times you could just type

openoffice --version

in your terminal

Tiftof
May 21st, 2008, 12:11 PM
Most of the times you could just type

openoffice --version

in your terminal

That will give you the version of the current installed openoffice. He wants to know how to figure out the version of a package in a future ubuntu release.