Created
August 22, 2019 13:29
-
-
Save polozhevets/6f136befb52979501c9cfbc9092aee4e to your computer and use it in GitHub Desktop.
Install Python 3.7 Ubuntu 18.04 (bionic)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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