Python 2.3 on Debian/woody
(installing additional software under /opt as described here )
as root:
# apt-get -y install wget bzip2 # apt-get -y install build-essential libreadline4-dev libncurses5-dev gettext
as opt: (i.e., su - opt)
# su - opt $ mkdir -p /opt/src/python-2.3 ; cd /opt/src/python-2.3 $ wget http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tar.bz2 $ tar xjf Python-2.3.5.tar.bz2 $ cd Python-2.3.5 $ mkdir -p /opt/python-2.3 ; ./configure --prefix=/opt/python-2.3 $ make $ make install
Additional Modules for Python
Python Imaging Library 1.1.4
as root:
# apt-get -y install wget gzip # apt-get -y install mysql
as opt:
# su - opt $ mkdir -p /opt/src/pil ; cd /opt/src/pil $ wget http://effbot.org/downloads/Imaging-1.1.4.tar.gz $ tar xzvf Imaging-1.1.4.tar.gz $ cd Imaging-1.1.4/libImaging $ ./configure $ make $ cd .. $ PATH=/opt/python-2.3/bin:$PATH python setup.py build $ PATH=/opt/python-2.3/bin:$PATH python setup.py install
MySQL for Python 1.2.0
as root:
# apt-get -y install wget gzip # apt-get -y install build-essential zlib1g-dev libmysqlclient10-dev libssl-dev
as opt:
# su - opt $ to be continued...