Created
January 3, 2020 19:58
-
-
Save WritingPanda/3bf49fe671fb4fe47f420bda9fef1199 to your computer and use it in GitHub Desktop.
Get dependencies for python development and install pyenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on ubuntu | |
sudo apt install -y make 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 | |
# on fedora | |
sudo dnf install zlib-devel bzip2 bzip2-devel readline-devel sqlite \ | |
sqlite-devel openssl-devel xz xz-devel libffi-devel findutils | |
# install pyenv | |
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
# restart shell and check if pyenv is running | |
exec $SHELL | |
pyenv --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment