Post

Find out default python version for any Ubuntu release

If you want to find the default Python 3 version of any Ubuntu release, run the command

1
rmadison python3

example output:

1
2
3
4
5
6
 python3 | 3.6.5-3         | bionic         | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.6.7-1~18.04   | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.8.2-0ubuntu2  | focal          | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3 | 3.9.4-1build1   | impish         | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3 | 3.9.7-4         | jammy          | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3 | 3.10.1-0ubuntu1 | jammy-proposed | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

Alternatively, check the package

https://packages.ubuntu.com/search?suite=groovy&keywords=python3

This post is licensed under CC BY-ND 4.0 by the author.