How To Install vifm on CentOS 7

In this tutorial we learn how to install vifm on CentOS 7. vifm is File manager with curses interface, which provides Vi[m]-like

Introduction

In this tutorial we learn how to install vifm on CentOS 7.

What is vifm

Vifm is a curses based vi[m] like file manager extended with some useful ideas from mutt. If you use vi[m], vifm gives you complete keyboard control over your files without having to learn a new set of commands. It goes not just about vi[m] like keybindings, but also about modes, options, registers, commands and other things you might already like in vi[m]. Just like vi[m], vifm tries to adhere to the Unix philosophy. So instead of working solutions which are set in stone user is provided with a set of means for customization of vifm to one’s likings. Though builtin functionality should be enough for most of use cases.

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

Install vifm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install vifm

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

sudo dnf -y install vifm

How To Uninstall vifm on CentOS 7

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

sudo dnf remove vifm

References

Summary

In this tutorial we learn how to install vifm on CentOS 7 using yum and dnf.