check version of packages available online code example Example: how to list all the available versionb for installation ubuntu apt-cache policy <packageName>