dpkg get installed package version 1

dpkg get installed package version

$ dpkg -s  | grep '^Version:'

Here is what the above code is Doing:
1. dpkg -s : This command will give you the details of the package.
2. grep ‘^Version:’ : This command will filter the output of the above command and will give you only the version of the package.

Similar Posts