Here are guide to install Python 2.7 into Debian 6.0 Squeeze
1. Add new repo into “/etc/apt/sources.list”
1 | deb http://ftp.uk.debian.org/debian/ testing main contrib non-free |
2. Update and Upgrade
1 | apt-get update && apt-get upgrade -y |
3. Install python 2.7 and set as default
1 2 3 | apt-get install libc6-dev apt-get install python2.7 update-alternatives –install /usr/bin/python python /usr/bin/python2.7 10 |