Ubuntu – Python 3.3.2 installation

12.04installationpython

I am using ubuntu 12.04 and already have python 2.7 installed. I need python 3.3.2 to be installed for some course. So i am trying to do that. I found this ubuntu link

How do I install the latest Python version in Ubuntu?

I tried to do the same. It was succesful but it's not running python 3.3.2 but running python 3.2.3. How should i install python 3.3.2?

Best Answer

I'd try

pip install python3.3.2 --user

or

wget http://python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2
tar xf Python-3.3.2.tar.bz2
cd Python-3.3.2
./configure --prefix=/usr/local
make && sudo make altinstall

In both cases You should then try to start it with

$ python3.3