ubuntu16.10安装最新的python3.6.3

前端之家收集整理的这篇文章主要介绍了ubuntu16.10安装最新的python3.6.3前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

sudo apt-get install build-essential checkinstall sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz tar xzf Python-3.6.3.tgz ./configure --enable-optimizations

不覆盖默认的python3文件 make; make altinstall 覆盖默认的python3文件 make; make install

原文链接:https://www.f2er.com/ubuntu/350490.html

猜你在找的Ubuntu相关文章