Skip to content

Instantly share code, notes, and snippets.

@jp-sft
Created December 8, 2022 12:16
Show Gist options
  • Save jp-sft/aac9e9d52c3f049c6d857c9d9e108bd7 to your computer and use it in GitHub Desktop.
Save jp-sft/aac9e9d52c3f049c6d857c9d9e108bd7 to your computer and use it in GitHub Desktop.
Install pyhton3.8 on Ubuntu 16.04.7 LTS
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
tar -xf Python-3.8.0.tgz
cd Python-3.8.0
./configure --enable-optimizations
make -j 8
sudo make altinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment