How to upgrade to python 2.7.10?



I’m not a linux wizard (obviously) and am hoping for some hints (maybe with a package manager) to upgrade to python 2.7.10. I’ve tried to download the tar, unzip and ./configure, then change my path to have it but it seems somethings still point at /usr/local/bin (or somethign else that makes python still say 2.7.6.

any standard way to do this in cloud9?