Know version of a package

Have you wanted to know what version of a particular package/software have you got installed on your Ubuntu? Or while upgrading wanted to compare the version of the package you already have? Or just want to check on the versions of any package before installing them? If you yes to any of the questions then use the below command in the terminal to satisfy your needs.

apt-cache policy <packagename>

Here, <packagename> should be the name of your package.

Example: apt-cache policy kazam

Advertisements

Here's your chance to type xoxo

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s