Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be installed).

How do I get the version number of the packages to be installed?

share|improve this question
up vote 36 down vote accepted
apt-cache show <packagename>

should include the full version numbers.

share|improve this answer

If you just want the version info without the description and such, use apt-cache policy instead of apt-cache show.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.