Ubuntu – How to install Python 3.2 on Ubuntu 14.04

python

The default version that Ubuntu carries is Python 2.7 and Python 3.4. How do I get Python 3.2?

There another question on this website where the topranked answer solves the issue for Ubuntu 13.04 with

sudo apt-add-repository ppa:fkrull/deadsnakes

If I try that I get the error:

sudo: apt-add-repository: command not found

Best Answer

I got it to work by first installing "software-properties-common" as suggested in the comments:

sudo apt-get install software-properties-common

sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.2