wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz
$ tar zxvf Python-3.4.1.tgz
2. 进入解压后的目录,执行安装配置
$ ./configure
或指定安装目录
$ ./configure --prefix=/opt/python3
3. Build
$ make
4. Install
$ make install