-
-
Save Hunk13/f9568d49d4a872dd2ed7712da13a736c to your computer and use it in GitHub Desktop.
python 3.8 on debian buster
This file contains hidden or 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 | |
| wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz | |
| tar xzf Python-3.8.6.tgz | |
| cd Python-3.8.6 | |
| ./configure --enable-optimizations --prefix=/opt/python/3.8 | |
| make -j$(nproc) | |
| sudo make altinstall | |
| export PATH=/opt/python/3.8/bin:$PATH | |
| or create your venv | |
| /opt/python/3.8/bin/python3.8 -m venv venv | |
| source venv/bin/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment