# 我也使用的wget ,我下载到了home中
wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz
# 在home中解压
tar -zxf Python-3.9.0.tgz
# 进入python3.9
cd Python-3.9.0
# 编译文件 时间大概有1-3分钟
./configure --prefix=/usr/local/python3
# 编译好后,会有另外一个提示,让run ./configure xxx
./configure xxxx
# 安装
make && make install
# 结束