Created
December 6, 2016 10:16
-
-
Save alpaca-tc/7a339908eb4bf7c19f76f0ddc57ea06c to your computer and use it in GitHub Desktop.
neovimを新しいサーバーに入れる
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
cd $HOME | |
mkdir -p usr | |
mkdir -p src | |
cd src | |
wget https://cmake.org/files/v3.7/cmake-3.7.1.tar.gz | |
mkdir .deps | |
tar -xvf cmake-3.7.1.tar.gz | |
cd cmake-3.7.1 | |
./configure --prefix=$HOME/usr | |
make | |
make install | |
cd src | |
git clone https://github.com/neovim/neovim | |
cd neovim | |
cd src/neovim | |
cd .deps | |
cmake ../third-party | |
make | |
cd ../ | |
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/usr" | |
make install | |
cd $HOME | |
brew install pyenv pyenv-virtualenv | |
pyenv install 3.5.2 | |
pyenv global 3.5.2 | |
pyenv rehash | |
pip3.5 install neovim | |
pyenv install 2.7.12 | |
pyenv global 2.7.12 | |
pyenv rehash | |
pip2.7 install neovim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment