Skip to content

Instantly share code, notes, and snippets.

@mirfan899
Last active September 20, 2019 05:20
Show Gist options
  • Save mirfan899/075671ac632c6fe655989e570f3e4490 to your computer and use it in GitHub Desktop.
Save mirfan899/075671ac632c6fe655989e570f3e4490 to your computer and use it in GitHub Desktop.
Compile Python 3.6.9 from source
#!/usr/bin/env bash
wget https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz
tar xzf Python-3.6.9.tgz
cd Pyhton-3.6.9
./configure --enable-optimizations
make -j 2
make altinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment