How to check a package version before installation in Linux/Ubuntu

/how-to-check-a-package-version-before-i