-
-
Save kawaz/393c7f62fe6e857cc3d9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash | |
sudo yum groups install -y Development\ tools | |
sudo yum install -y cmake | |
sudo yum install -y python34-{devel,pip} | |
sudo pip-3.4 install neovim --upgrade | |
( | |
cd "$(mktemp -d)" | |
git clone https://github.com/neovim/neovim.git | |
cd neovim | |
make CMAKE_BUILD_TYPE=Release | |
sudo make install | |
) |
thank uuuuuu
Thanks
Thank you for this! One small difference for me, when I got to this step
sudo pip-3.4 install neovim --upgrade
I had to do this instead:
sudo pip3.4 install neovim --upgrade
(without the dash!)
thank you
Thanks
on AL 2023 its:
#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python3-{devel,pip}
sudo pip-3 install neovim --upgrade
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
)
Thanks for keeping it alive @drzaiusx11
Thank you both!
My pleasure
Thanks mate! Was tired of being forced to use nano :D
I'm on Amazon Linux 2 and had to do the following:
I had cmake 2.8, which is lower than the minimum requirement for neovim 3.16, so build it from source:
sudo yum install openssl-devel
# Find latest version of cmake at https://cmake.org/download/
wget https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4.tar.gz
tar -xvzf cmake-3.31.4.tar.gz
cd cmake-3.31.4
# optional to keep long running process alive:
tmux new
./bootstrap
make
sudo make install
And modify PATH so that it's found:
export PATH="/usr/local/bin:$PATH"
Now build neovim:
# Updated build instructions: https://github.com/neovim/neovim/blob/master/BUILD.md#quick-start
git clone https://github.com/neovim/neovim
cd neovim
git checkout stable
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
Thanks for keeping this alive!
Damn! Thank you. What a pain it's been until I found this!
Every other method I tried failed miserably!