How can I check the version of the available package in the Ubuntu repositories without installing it?
Ubuntu – How to check the available version of a package in the repositories
package-management
package-management
How can I check the version of the available package in the Ubuntu repositories without installing it?
Best Answer
Use the command:
This gives you information of all available package versions.
Example:
From the output, you can see that there are two versions available:
2.0.8-0ubuntu0.13.04.1
and2.0.6-1
. It also tells you which repositories they are coming from.Installed:
tells you the version you have installed. If you don't have the package installed, you'll see(none)
.Candidate:
is the version that will be installed if you useapt-get install vlc
. If you want to install the other version, you would doapt-get install vlc=2.0.6-1
.