- cd /usr/local/src/
- sudo wget http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2
- sudo chmod 777 Python-3.3.2.tar.bz2
- sudo tar -jx -f Python-3.3.2.tar.bz2
-
-
- cd Python-3.3.2/
- ./configure --prefix=/usr/local/Python-3.3.2/
- sudo make
- sudo make install
-
- cd /usr/bin/
- ls -l python*
-
- echo $PATH
- PATH=$PATH:/usr/local/Python-3.3.2/bin
- echo $PATH
-
- cd /usr/bin/
- sudo rm -rf python
- sudo ln -s /usr/local/Python-3.3.2/bin/python3 ./python
-
- python
-
- ll python*
- sudo rm -rf python
- sudo ln -s /usr/bin/python2.6 ./python
来源:http://www.cnblogs.com/KiloNet/archive/2013/06/20/3145786.html
Linux下安装Python-3.3.2【转】
原文:http://www.cnblogs.com/sky-heaven/p/5295847.html