rendered paste body#!/bin/bashsudo apt-get -y install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev tk-dev autoconf automake1.9 autotools-dev blt blt-dev debiandoc-sgml emacs22 emacs22-bin-common emacs22-common emacsen-common gettext html2text intltool-debian libdb4.6-dev libffi-dev libgif4 liblockfile1 libroman-perl libsgmls-perl libsp1c2 libtext-format-perl m4 po-debconf sgmlspl sharutils sp tex-common texinfo texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-latex-base texlive-latex-recommended xaw3dgcdmkdir -p python-buildcd python-buildwget "http://www.python.org/ftp/python/2.6.2/Python-2.6.2.tgz" -O Python-2.6.2.tgztar xzf Python-2.6.2.tgzcd Python-2.6*./configure --prefix=/usr/localmake#sudo make installsudo checkinstall --pkgname=python3cdpython2.6 -Vcdmkdir -p python-buildcd python-buildwget "http://www.python.org/ftp/python/3.0.1/Python-3.0.1.tgz" -O Python-3.0.1.tgztar xzf Python-3.0.1.tgzcd Python-3.0*./configure --prefix=/usr/localmakesudo make installsudo ln -s /usr/local/bin/python3.0 /usr/local/bin/python3