赞
踩
手动升级到3.8.5
-
- sudo apt-get install -y build-essential tk-dev libncurses5-dev \
- libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev \
- libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev
-
- version=3.8.5
-
- wget https://www.python.org/ftp/python/$version/Python-$version.tgz
-
- tar zxf Python-$version.tgz
- cd Python-$version
- ./configure --enable-optimizations
- make -j4
- sudo make altinstall
将被安装到 /usr/local/bin
自动升级脚本
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。