Last active
January 2, 2022 14:18
-
-
Save juanpabloaj/3b2184e951f7f8161fabf8d4cbf89438 to your computer and use it in GitHub Desktop.
Install Neovim on Centos 6 from source
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
# install gcc 6.x | |
# Install CentOS SCLo RH repository: | |
yum install centos-release-scl-rh | |
# Install devtoolset-6-gcc rpm package: | |
yum install devtoolset-6-gcc | |
# activate scl | |
scl enable devtoolset-6 bash | |
# Prerequisites | |
sudo yum -y install libtool autoconf automake cmake gcc gcc-c++ make pkgconfig unzip patch gettext | |
# Installation Folder | |
git clone https://github.com/neovim/neovim.git | |
cd neovim | |
# Build | |
mkdir -p $HOME/opt | |
make CMAKE_INSTALL_PREFIX=$HOME/opt install | |
#make install | |
# Python Neovim | |
# install python with pyenv | |
# pyenv shell 2.7.13 3.6.6 | |
pip install neovim | |
pip install pynvim | |
pip3 install pynvim | |
# nvim +UpdateRemotePlugins +q | |
# Extras | |
#yum install xclip # :help clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment