Created
August 29, 2025 21:05
-
-
Save germainlefebvre4/4923bb19bbcf5fb0e819a956e0e79bc7 to your computer and use it in GitHub Desktop.
Install pyenv and all its dependencies for Ubuntu 24.04
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
| #!/bin/bash | |
| # Q: Why did I am write this install script? | |
| # A: Because I spent a too many times to build & wait before reaching the end of the tunnel | |
| # Install pyenv dependencies | |
| sudo apt install make build-essential libssl-dev zlib1g-dev bzip2 llibreadline-dev ibreadline6 libreadline6-dev openssl libffi-dev liblzma-dev tk-dev libsqlite3-dev | |
| # Install pyenv | |
| curl -fsSL https://pyenv.run | bash | |
| # Download python version 3.13.7 | |
| pyenv install 3.13.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment