How to install Neovim on Ubuntu?
Solution 1:
From the universe repo
sudo apt install neovim
From source
-
Download the master branch from Github
-
Install the dependencies
sudo apt-get install libtool autoconf automake cmake libncurses5-dev g++
-
Go to the root of the project and build
make cmake make test
-
Run
nvim
in/neovim-master/build/bin
That works for me.
From the PPA repository
-
Add the repository
$ sudo add-apt-repository ppa:neovim-ppa/unstable
-
Update and install
$ sudo apt-get update $ sudo apt-get install neovim
Solution 2:
According to official Wiki:
Neovim has been added to a Personal Package Archive which allows you to install it using apt-get on Ubuntu 12.04 and later
Run the following commands:
sudo add-apt-repository ppa:neovim-ppa/unstable
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