Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 1 章 install

目录

1.1. Python2.x
1.1.1. 编译安装
1.1.2. Ubuntu 安装
1.2. Python3.x
1.2.1. 编译安装
1.2.2. Ubunut 13.04 环境安装python3
1.3. pypy - fast alternative implementation of Python - PyPy interpreter
1.3.1. Ubuntu 环境安装
1.3.2. CentOS 环境安装
1.4. Eric Python IDE

1.1. Python2.x

1.1.1. 编译安装

Python2.x

wget http://www.python.org/ftp/python/2.x.x/Python-2.x.x.tgz
tar zxvf Python-2.x.x.tgz
cd Python-2.x.x
./configure --prefix=/usr/local/python2.x
make
make install

ln -s /usr/local/python/bin/python2.5 /usr/bin/
ln -s /usr/local/python/bin/* /usr/local/bin/
			

1.1.2. Ubuntu 安装

sudo apt-get install python
sudo apt-get install python-setuptools