How to find the available packages' versions with aptitude on Linux?

How to find the available packages' versions with aptitude on Linux?

asked Dec 21, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

With aptitude, you can use this command to show the available versions of a package:

aptitude versions <package name>

In the console GUI, aptitude also show the versions.

You may also simulate installation of a package and see which version will be installed:

aptitude install -V -s <package name>

You can find which version is installed on your system if you have installed it by:

dpkg -l | grep <package name>
answered Dec 21, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...