Find Available Packages Versions using aptitude in Ubuntu

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

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>

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *