Linux 安装 Python3.5

 

1. 准备

操作系统:Red Hat Enterprise Linux Server release 6.5 (Santiago)

Python 安装包:Python-3.5.2.tgz

  下载地址:https://www.python.org/downloads/

2. 安装

  • tar zxvf Python-3.5.2.tgz
  • cd Python-3.5.2
  • ./configure --prefix=/usr/local/python35
  • make
  • make install