python's docs

版本: 2.0 python3.5.2:安装


1. 安装python3

yum install epel-release -y
yum groupinstall "Development tools" -y
yum install python-devel openssl-devel -y

wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
tar -Jxf Python-3.5.2.tar.xz
cd Python-3.5.2
./configure --prefix=/usr/local/python3
make && make install

会自动安装pip和setuptools等包