ubuntu14.04-server 下python多版本安装

安装python软件工具包
apt-get install -y python-software-properties


add-apt-repository -y ppa:fkrull/deadsnakes


查看仓库中版本信息
add-apt-repository ppa:fkrull/deadsnakes


查看python指定版本的信息
apt-cache show python3.3


安装指定版本
apt-get install -y python3.4 python3.4-dev




查看当前安装的python版本
python --version
python3 --version




安装idle
apt-get install idle-python3.4


运行idle
/usr/bin/idle-python3.4
原文地址:https://www.cnblogs.com/retacn-yue/p/6194193.html