How To Install neovim on AlmaLinux 8

In this tutorial we learn how to install neovim in AlmaLinux 8. neovim is Vim-fork focused on extensibility and agility

Introduction

In this tutorial we learn how to install neovim on AlmaLinux 8.

What is neovim

Neovim is a refactor - and sometimes redactor - in the tradition of Vim, which itself derives from Stevie. It is not a rewrite, but a continuation and extension of Vim. Many rewrites, clones, emulators and imitators exist; some are very clever, but none are Vim. Neovim strives to be a superset of Vim, notwithstanding some intentionally removed misfeatures; excepting those few and carefully-considered excisions, Neovim is Vim. It is built for users who want the good parts of Vim, without compromise, and more.

We can use yum or dnf to install neovim on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install neovim.

Install neovim on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install neovim using dnf by running the following command:

sudo dnf -y install neovim

Install neovim on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install neovim using yum by running the following command:

sudo yum -y install neovim

How To Uninstall neovim on AlmaLinux 8

To uninstall only the neovim package we can use the following command:

sudo dnf remove neovim

References

Summary

In this tutorial we learn how to install neovim on AlmaLinux 8 using yum and dnf.