mkdir -p ~/local/src export PYTHONPATH=~/local/share/python2.4/site-packages/:~/local/lib/python2.4/site-packages # installing Pyrex (required by lxml to compile) cd ~/local/src wget http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-0.9.4.1.tar.gz tar -zxf Pyrex-0.9.4.1.tar.gz cd Pyrex-0.9.4.1/ python setup.py install --prefix ~/local cd .. && rm -r Pyrex-0.9.4.1 # saving place # installing cd ~/local/src wget http://codespeak.net/lxml/lxml-0.9.1.tgz tar -zxf lxml-0.9.1.tgz cd lxml-0.9.1 python setup.py install --prefix ~/local cd .. && rm -r lxml-0.9.1 # 3.9M cd /home/pracown/lpankows/local/lib/python2.4/site-packages/ wget http://webpy.org/web.py # 2,6M left # we can remove sources and Pyrex living only ~/local/lib with lxml and web.py rm -r ~/local/bin/ ~/local/share/ ~/local/src # this leaves 920K