Skip to content

Instantly share code, notes, and snippets.

@odiak
Created July 31, 2020 07:23
Show Gist options
  • Save odiak/1d29e39267d88fa8b2da39224877e90f to your computer and use it in GitHub Desktop.
Save odiak/1d29e39267d88fa8b2da39224877e90f to your computer and use it in GitHub Desktop.
sudo apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
curl https://pyenv.run | bash
cat <<'EOS' >> $HOME/.bashrc
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
EOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment