Install Python 2.5 on CentOS/4

If you need more recent version of python on CentOS, you have to install it yourself. Do not override the default /usr/bin/python.

 

Download the latest python 2.5 from http://www.python.org/ftp/python.

wget http://www.python.org/ftp/python/2.5.6/Python-2.5.6.tgz

 

tar zxf Python-2.5.6.tgz 
cd Python-2.5.6
./configure --prefix=/opt
make
make install