Last active
May 14, 2023 06:29
-
-
Save yucer/9d7d1bc15770b609fa5439fad9e24c7d to your computer and use it in GitHub Desktop.
install pyenv ubuntu 20.10
This file contains 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
#!/bin/bash | |
# install pyenv dependencies | |
sudo apt-get install git make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libffi-dev curl | |
# install pyenv | |
curl https://pyenv.run | bash | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.profile | |
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment