Skip to content

Instantly share code, notes, and snippets.

@skanehira
Created November 14, 2020 00:07
Show Gist options
  • Save skanehira/37f01e7bd8c7356741d551dee255cae9 to your computer and use it in GitHub Desktop.
Save skanehira/37f01e7bd8c7356741d551dee255cae9 to your computer and use it in GitHub Desktop.

How to build neovim on ubuntu 20.04

Environment

  • Ubuntu 20.04
  • fish, version 3.1.2

Installation

https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisites

sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
make
sudo make install

FAQ

Problem

Cmake error :generator: Ninja

Solustion

rm -f (find -name CMakeCache.txt)
@hinell
Copy link

hinell commented Nov 14, 2022

I wrote a script for building neovim, checkout: ubuntu-neovim-install.

You have to download it into a neovim repo frok and run ... deps.install; ... neovim.build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment