How To Install vim-editorconfig on AlmaLinux 8

In this tutorial we learn how to install vim-editorconfig in AlmaLinux 8. vim-editorconfig is EditorConfig Vim Plugin

Introduction

In this tutorial we learn how to install vim-editorconfig on AlmaLinux 8.

What is vim-editorconfig

This is an EditorConfig plugin for Vim.

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

Install vim-editorconfig 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 vim-editorconfig using dnf by running the following command:

sudo dnf -y install vim-editorconfig

Install vim-editorconfig 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 vim-editorconfig using yum by running the following command:

sudo yum -y install vim-editorconfig

How To Uninstall vim-editorconfig on AlmaLinux 8

To uninstall only the vim-editorconfig package we can use the following command:

sudo dnf remove vim-editorconfig

References

Summary

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