Last active
August 29, 2015 14:18
-
-
Save shiraco/e37a1978abed238dba50 to your computer and use it in GitHub Desktop.
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 | |
# update the local repo listing | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
# install language-pack-ja | |
sudo apt-get -y install language-pack-ja | |
# install git | |
sudo apt-get -y install git | |
# install pyenv | |
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 | |
source .bash_profile | |
# python install | |
sudo apt-get -y install gcc \ | |
build-essential \ | |
zlib1g-dev \ | |
libbz2-dev \ | |
libssl-dev \ | |
libreadline-dev \ | |
libsqlite3-dev | |
pyenv install -l | |
pyenv install 3.4.3 | |
pyenv global 3.4.3 | |
pip install virtualenv | |
pyenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment