Skip to content

Instantly share code, notes, and snippets.

@joshbrooks
Last active November 27, 2022 15:40
Show Gist options
  • Save joshbrooks/573c2af2e7319b9c9fa8ee8a3c7e75e5 to your computer and use it in GitHub Desktop.
Save joshbrooks/573c2af2e7319b9c9fa8ee8a3c7e75e5 to your computer and use it in GitHub Desktop.
## apt installs:
git
gcc
pkg-config
## Install pyenv
Following [pyenv-installer](https://github.com/pyenv/pyenv-installer)
curl https://pyenv.run | bash
Install the Build prerequisites at https://github.com/pyenv/pyenv/wiki#suggested-build-environment
```sh
sudo apt update; sudo apt install make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
```
## Set your default Python to something fun!
pyenv install 3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment