How To Install neovim on CentOS 7
Introduction
In this tutorial we learn how to install neovim on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install neovim.
Install neovim on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install neovim using yum by running the following command:
sudo yum -y install neovim
Install neovim on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install neovim using dnf by running the following command:
sudo dnf -y install neovim
How To Uninstall neovim on CentOS 7
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 CentOS 7 using yum and dnf.