How can I check the version of the available package in the Ubuntu repositories without installing it?
|
Use the command:
This gives you information of all available package versions. Example:
alaa@aa-lu:~$ apt-cache policy vlc
vlc:
Installed: 2.0.8-0ubuntu0.13.04.1
Candidate: 2.0.8-0ubuntu0.13.04.1
Version table:
*** 2.0.8-0ubuntu0.13.04.1 0
500 http://ae.archive.ubuntu.com/ubuntu/ raring-updates/universe i386 Packages
500 http://security.ubuntu.com/ubuntu/ raring-security/universe i386 Packages
100 /var/lib/dpkg/status
2.0.6-1 0
500 http://ae.archive.ubuntu.com/ubuntu/ raring/universe i386 Packages
|
||||
|
|
|
Go to packages.ubuntu.com, fill in the search form and get a nice view of the package including the version.
Hit search, then:
Additional benefits
Biggest downside is that it won't list the versions of other repositories you possible have installed, such as PPAs. You will then need the Pro tipTake the shortcut - just browse to |
||||
|
|
It also gives information about all available package versions in the repositories. This command output had the syntax like this:
Example:
|
|||||
|
|
Open your terminal with CTRL+ALT+T and then type as
Then it will give you information about whats the available version. for example:
|
|||||||||||||
|
|
or
If a package is available in several versions, you will see this. To see only the last version, use:
You can not have any doubts with the above command. |
||||
|
|
|
|||||
|
|
Here's another way:
The above method only works if run with sudo. |
|||||||||
|

