sudo apt-get install python-pip
sudo apt-get git
sudo pip install shadowsocks
# oh my zsh
sudo apt-get install zsh
chsh -s /bin/zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
# pyenv
sudo apt-get install curl
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | zsh
vim /etc/profile.d/pyenv.sh
########################
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
# Zsh note: Modify your ~/.zshenv file instead of ~/.bash_profile.
# Ubuntu and Fedora note: Modify your ~/.bashrc file instead of ~/.bash_profile.
# Proxy note: If you use a proxy, export http_proxy and HTTPS_PROXY too.
#########################
v=3.5.2|wget http://mirrors.sohu.com/python/$v/Python-$v.tar.xz -P ~/.pyenv/cache/;pyenv install $v