Ubuntuにソースからpythonインストール
 Author: 水卜

python

実行手順

  1. wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
  2. tar -xf Python-3.7.2.tar.xz
  3. cd Python-3.7.2/
  4. ./configure --enable-shared --with-ensurepip
  5. make
  6. sudo make install
  7. sudo sh -c “echo ‘/usr/local/lib’ > /etc/ld.so.conf.d/custom_python3.conf”
  8. sudo ldconfig
  9. python3