Created
December 1, 2019 03:09
-
-
Save oshinko/584122f8dc1a46c786f2703fed0aefaa to your computer and use it in GitHub Desktop.
Install Python 3.8 from Source Code on Debian
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 update | |
sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget | |
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz | |
sudo tar zxf Python-3.8.0.tgz | |
cd Python-3.8.0 | |
sudo ./configure --enable-optimizations | |
sudo make -j 4 | |
sudo make altinstall | |
python3.8 -V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment