1. DOWNLOAD
wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz tar zxvf Python-2.7.2.tgz |
2. INSTALL
cd Python-2.7.2
./configure –prefix=/home/<your account>/opt/python272 --enable-unicode=ucs4 make make install |
3. TEST
Now try to run:
/home/<your account>/opt/python272/bin/python |
4. MAKE IT YOUR DEFAULT PYTHON
$vim ~/.bashrc |
add the following line
export PATH=/home/<your account>/opt/python272/bin:$PATH |
reload the session
$source ~/.bashrc |
