Created
February 10, 2016 14:05
-
-
Save s-wool/b33d736e9c6304ca8cb2 to your computer and use it in GitHub Desktop.
vagrant pyenv
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 | |
sudo yum clean all | |
sudo yum groupinstall -y "Development Tools" | |
sudo yum install -y bzip2-devel openssl-devel readline-devel sqlite-devel | |
git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile | |
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv | |
source ~/.bash_profile | |
pyenv install 2.7.10 | |
pyenv install 3.4.4 | |
pyenv install 3.5.1 | |
pyenv global 2.7.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment