1
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 2wget http://www.python.org/ftp/python/3.2.3/Python-3.2.3.tar.bz2 3tar -xjf Python-3.2.3.tar.bz24cd Python-3.2.3 5./configure --prefix=/usr/local/python36make && make install7rm -rf /usr/bin/python*8ln -s /usr/local/python3/bin/python3 /usr/bin/python9查看版本
python -v