Last active
June 15, 2018 12:31
-
-
Save bylatt/fb3e3e0a25dcd3e0c158 to your computer and use it in GitHub Desktop.
Install python 2.7.10 with pyenv on Ubuntu 14.04
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
| # Install python 2.7.10 with pyenv on ubuntu 14.04 | |
| sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev | |
| git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
| echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
| echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
| echo 'eval "$(pyenv init -)"' >> ~/. | |
| exec $SHELL | |
| pyenv install 2.7.10 | |
| pyenv global 2.7.10 | |
| pyenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment