开发环境安装脚本(ubuntu)
sudo apt-get update
sudo apt-get install -y \
git \
python-dev \
python3-dev \
python-pip \
zsh
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils
# oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
# pyenv
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc
# export PATH="/home/hexiangyu/.pyenv/bin:$PATH"
# eval "$(pyenv init -)"
# eval "$(pyenv virtualenv-init -)"
# PYTHON_CONFIGURE_OPTS="--disable-ipv6" pyenv install -v 2.7.9
# vunble
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim