Last active
August 7, 2023 13:43
-
-
Save ancs21/c1e8f2741e221f9aebb52beaf5a4f2fd to your computer and use it in GitHub Desktop.
Install Python 3.11.4 on Ubuntu 20.4
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
# install dependency | |
sudo apt-get install -y lzma liblzma-dev libreadline-dev libsqlite3-dev libffi-dev libpq-dev | |
# install pyenv | |
curl https://pyenv.run | bash | |
# post-script | |
# add output from shell | |
# install python 3.11.4 | |
pyenv install 3.11.4 | |
# active | |
pyenv global 3.11.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment