Skip to content

Instantly share code, notes, and snippets.

@nuga99
Last active July 11, 2019 02:28
Show Gist options
  • Save nuga99/38dbdb6abf7b9efdd600916068190c78 to your computer and use it in GitHub Desktop.
Save nuga99/38dbdb6abf7b9efdd600916068190c78 to your computer and use it in GitHub Desktop.
Pyenv Configure On Fedora 30
export PYENV_ROOT="$HOME"/.pyenv
export PATH="$PYENV_ROOT"/bin:"$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
eval "$(pyenv virtualenv-init -)"

Installation

  1. Install all lib and dependencies.
sudo yum install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel \    
openssl-devel xz xz-devel libffi-devel findutils
  1. Install pyenv.run
curl https://pyenv.run | bash
  1. Include or Create .zshenv if you're using zsh

  2. source ~/.zshenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment