linux check version of package code example
Example: linux how to check version of package
$ apt list pkg-name
//show all possible versions on repository
$ apt list pkg-name -a
$ apt list pkg-name
//show all possible versions on repository
$ apt list pkg-name -a