Install the latest version of neovim on Ubuntu

Install the latest version of neovim on Ubuntu

I. Introduction

The neovim version is very important. There are many plug-ins that almost require neovim version 0.8+ or 0.9+. But there is a very serious problem that the version of Ubuntu using sudo apt install neovim is very low and does not meet the requirements (it was 0.7 at the time of writing the article)

2. Solution

#  找到非标准源
sudo add-apt-repository ppa:neovim-ppa/unstable
# 更新
sudo apt-get update
# 安装
sudo apt-get install neovim

3. Install the required dependencies

The following are the normal steps to install the required dependencies.

# 官方安装步骤,依赖
sudo apt-get install python-dev python-pip python3-dev python3-pip

If you encounter such an error like the author
Insert image description here
just execute the following command and the dependencies can be installed normally

sudo apt-get install python2-dev
sudo apt-get install python3-dev python-pip python3-dev python3-pip
sudo apt-get install python2-pip 
sudo apt-get install python3-pip

4. Finally

Seeking Like! Please collect! ! !

Guess you like

Origin blog.csdn.net/Ten_years_star/article/details/132371796