Skip to content

Instantly share code, notes, and snippets.

@polozhevets
Created August 22, 2019 13:29
Show Gist options
  • Save polozhevets/6f136befb52979501c9cfbc9092aee4e to your computer and use it in GitHub Desktop.
Save polozhevets/6f136befb52979501c9cfbc9092aee4e to your computer and use it in GitHub Desktop.
Install Python 3.7 Ubuntu 18.04 (bionic)
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 libffi-dev zlib1g-dev
cd /usr/src
sudo wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
sudo tar xzf Python-3.7.4.tgz
cd Python-3.7.4
sudo ./configure --enable-optimizations
sudo make altinstall
python3.7 -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment