Skip to content

Instantly share code, notes, and snippets.

@nithinivi
Last active August 8, 2019 11:03
Show Gist options
  • Save nithinivi/cb8ca34eb95727bdc07484cfe59326e8 to your computer and use it in GitHub Desktop.
Save nithinivi/cb8ca34eb95727bdc07484cfe59326e8 to your computer and use it in GitHub Desktop.
Installing pyenv in ubuntu
sudo apt-get update
sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
echo 'export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
source ~/.bashrc
pyenv update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment