📌  相关文章
📜  安装 python debian - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:41.382000             🧑  作者: Mango

代码示例1
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev
curl -O https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz
tar -xf Python-3.8.2.tar.xz
cd Python-3.8.2
./configure --enable-optimizations
make -j 4 # replace -j by the number of core in your process
sudo make altinstall