I need python 3.2 for development purposes, but new ubuntu 13.04 comes with python 3.3.
is there any best practice for installing older python version into ubuntu?
Thanks
I need python 3.2 for development purposes, but new ubuntu 13.04 comes with python 3.3.
is there any best practice for installing older python version into ubuntu?
Thanks
Use the Deadsnakes PPA, which includes a range of Python versions packaged for a range of Ubuntu versions, including 3.2 for raring.
sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.2
Download and compile Python (with the terminal):
wget http://python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
tar jxf ./Python-3.3.0.tar.bz2
cd ./Python-3.3.0
./configure --prefix=/opt/python3.3
make && sudo make install
Source: AskUbuntu
Other options I've come across are pyenv and pythonz - they both will build custom versions of python (including PyPy and Jython) for you and allow you to change the python you use in the terminal.
I haven't tried either myself so can't recommend one.