简单的 ubuntu20 安装python3.6
(本人ubuntu20系统默认是python3.8)
1、安装
查看已安装python版本
python -V
# 查看python2版本
python3 -V
# 查看python3版本
添加python软件源
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
安装python3
sudo apt install python3.6
查看安装的python3.6
python3.6 -V
参考链接