Usually when I am on a new Linux system, or on a fresh install and I want to install Python I build it from source cloning the Git repository and checking out the tag I want. I always make the same mistake to forget installing the optional dependencies prior to installing Python. You can install Python without them, but some of them are really useful, e.g. ncurses and SSL support.