Linux之安装python

# yum install zlib-devel -y

# tar -xf Python-3.6.0
cd Python-3.6.0
# ./configure --prefix=/usr/local/python3.6# make && make install
# echo 'PATH=/usr/local/python3.6/bin:$PATH' >>/etc/profile
# tail -1 /etc/profile
PATH=/usr/local/python3.6/bin:$PATH
# source /etc/profile
原文地址:https://www.cnblogs.com/asaka/p/6569016.html