Como Instalar o pyEnv no Ubuntu

# First, ensure dependencies are installed
$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev git
 
# Copy and install
$ curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
 
# Update pyenv
$ pyenv update
Written on January 18, 2016