Created
January 12, 2020 01:47
-
-
Save riffrain/1eafe22c534169e16774082e47564f26 to your computer and use it in GitHub Desktop.
build neovim and install it to local
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
git clone https://github.com/neovim/neovim | |
cd neovim | |
# if you want build stable release | |
git checkout stable | |
make CMAKE_BUILD_TYPE=Release \ | |
CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local -DLibIntl_LIBRARY=/usr/lib/libintl.so.8 -DLibIntl_INCLUDE_DIR=/usr/include" | |
make install | |
# export PATH="$HOME/.local/bin:$PATH" |
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
# in your neovim directory | |
rm -r build/ # clean the CMake cache | |
make CMAKE_BUILD_TYPE=Release \ | |
CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local -DLibIntl_LIBRARY=/usr/lib/libintl.so.8 -DLibIntl_INCLUDE_DIR=/usr/include" | |
make install |
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
rm ~/.local/bin/nvim | |
rm -r ~/.local/share/nvim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment