Debian9如何安装python3.7
发布时间:2023-9-8 13:38:51 来源: 纵横云
Debian9如何安装python3.7
1.apt-get update,输入该命令按回车键
2.输入该命令按回车键:
apt-get install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget -y
3.curl -O https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz,输入该命令按回车键
4.tar -xf Python-3.7.3.tar.xz,输入该命令按回车键
5.cd Python-3.7.3,输入该命令按回车键
6../configure --enable-optimizations,输入该命令按回车键
7.make -j 8,输入该命令按回车键
8.make altinstall,输入该命令按回车键
9.python3.7 -V,输入该命令按回车键查看已安装好
本文来源:
https://www.zonghengcloud.com/article/12299.html
[复制链接]
链接已复制