Python3.6のDebianにインストールされています

1.適性をインストールします。

須藤はapt-getをインストール適性

2.インストールの依存関係

sudoの適性は、GCCメイクます:zlib1g-devのlibffi-devののlibssl-devのインストール-y

3.ダウンロードのPython 3.6.9

wgetのhttps://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz

4.解凍アーカイブ

Pythonの3.6.9.tgz -xzvf取り

フォルダ、およびインストール構成に5

CDのPython-3.6.9 /

./configure --prefix =は/ usr / local / python36 --enable共有CFLAGS = -fPIC --enable-最適化

作る&& make installを

おすすめ

転載: www.cnblogs.com/DesignerA/p/11617458.html