Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save germainlefebvre4/4923bb19bbcf5fb0e819a956e0e79bc7 to your computer and use it in GitHub Desktop.

Select an option

Save germainlefebvre4/4923bb19bbcf5fb0e819a956e0e79bc7 to your computer and use it in GitHub Desktop.
Install pyenv and all its dependencies for Ubuntu 24.04
#!/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