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