Linux CentOS 编绎安装Python 3.5
Linux CentOS 编绎安装Python 3.5
先决条件(若无安装,则不能编绎使用idle3):
yum install tk-devel
xz -d Python-3.5.0.tar.xz
tar zxf Python-3.5.0.tar
cd Python-3.5.0
./configure --prefix=/opt/python3
make
sudo make install
ln -s /opt/python3/bin/python3 ~/bin/python3
ln -s /opt/python3/bin/idle3 ~/bin/idle3
(或链接至/usr/bin/python3, /usr/bin/idle3)