Skip to main content

how to install latest neovim on LINUX

 

 
mt - 1
sudo apt install neovim

Python (:python) support seems to be automatically installed

sudo apt install python-neovim sudo apt install python3-neovim

Since 18.04 via PPA Neovim has been added to a "Personal Package Archive" (PPA). This allows you to install it with apt-get. Follow the links to the PPAs to see which versions of Ubuntu are currently available via the PPA. Choose stable or unstable:

Important: those PPA have dropped support for Xenial 16.04 and older.

To be able to use add-apt-repository you may need to install software-properties-common:

sudo apt-get install software-properties-common

If you're using an older version Ubuntu you must use:

sudo apt-get install python-software-properties

Run the following commands:

sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim

Prerequisites for the Python modules:

sudo apt-get install python-dev python-pip python3-dev python3-pip
 
 
 
mt -2 
 Cd ~ 
 sudo rm -r neovim
 git clone https://github.com/neovim/neovim
 cd neovim
 sudo make CMAKE_BUILD_TYPE=Release install
 cd ~ 
 sudo rm -r neovim