How to install a specific Python version on Ubuntu

$ sudo apt-add-repository multiverse


$ sudo apt-get install build-essential checkinstall


$ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev


$ cd ~/Downloads/


$ wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz


$ tar -xvf Python-2.7.12.tgz


$ cd Python-2.7.12



$ ./configure



$ make



$ sudo checkinstall


 

If you need assistance with your projects feel free to email me at info@airgad.com or whatsapp Jesse stay safe!