How To Install vifm on CentOS 8

vifm is File manager with curses interface, which provides Vi[m]-like environment

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install vifm.

Install vifm on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install vifm

Install vifm on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install vifm

How To Uninstall vifm on CentOS 8

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

sudo dnf remove vifm

vifm Package Contents on CentOS 8

/usr/bin/vifm
/usr/bin/vifm-convert-dircolors
/usr/bin/vifm-pause
/usr/bin/vifm-screen-split
/usr/lib/.build-id
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/4cfdcea8953ac91d76fa86dfeb0ba6ac57efa8
/usr/share/applications/vifm.desktop
/usr/share/bash-completion/completions/vifm
/usr/share/doc/vifm
/usr/share/doc/vifm/AUTHORS
/usr/share/doc/vifm/BUGS
/usr/share/doc/vifm/ChangeLog
/usr/share/doc/vifm/FAQ
/usr/share/doc/vifm/INSTALL
/usr/share/doc/vifm/NEWS
/usr/share/doc/vifm/README
/usr/share/doc/vifm/TODO
/usr/share/licenses/vifm
/usr/share/licenses/vifm/COPYING
/usr/share/man/man1/vifm-convert-dircolors.1.gz
/usr/share/man/man1/vifm-pause.1.gz
/usr/share/man/man1/vifm-screen-split.1.gz
/usr/share/man/man1/vifm.1.gz
/usr/share/pixmaps/vifm.png
/usr/share/vifm
/usr/share/vifm/colors
/usr/share/vifm/colors/astrell-root.vifm
/usr/share/vifm/colors/astrell-user.vifm
/usr/share/vifm/colors/dmilith-root.vifm
/usr/share/vifm/colors/dmilith-user.vifm
/usr/share/vifm/colors/istib-solarized-dark.vifm
/usr/share/vifm/colors/juef-zenburn.vifm
/usr/share/vifm/colors/reicheltd-light.vifm
/usr/share/vifm/vifm-help.txt
/usr/share/vifm/vifm-media
/usr/share/vifm/vifmrc
/usr/share/vifm/vifmrc-osx
/usr/share/vifm/vim
/usr/share/vifm/vim-doc
/usr/share/vifm/vim-doc/doc
/usr/share/vifm/vim-doc/doc/tags
/usr/share/vifm/vim-doc/doc/vifm-app.txt
/usr/share/vifm/vim/autoload
/usr/share/vifm/vim/autoload/vifm
/usr/share/vifm/vim/autoload/vifm/edit.vim
/usr/share/vifm/vim/doc
/usr/share/vifm/vim/doc/tags
/usr/share/vifm/vim/doc/vifm-plugin.txt
/usr/share/vifm/vim/ftdetect
/usr/share/vifm/vim/ftdetect/vifm-rename.vim
/usr/share/vifm/vim/ftdetect/vifm.vim
/usr/share/vifm/vim/ftplugin
/usr/share/vifm/vim/ftplugin/mail_vifm.vim
/usr/share/vifm/vim/ftplugin/vifm-cmdedit.vim
/usr/share/vifm/vim/ftplugin/vifm-edit.vim
/usr/share/vifm/vim/ftplugin/vifm-rename.vim
/usr/share/vifm/vim/ftplugin/vifm.vim
/usr/share/vifm/vim/plugin
/usr/share/vifm/vim/plugin/vifm.vim
/usr/share/vifm/vim/syntax
/usr/share/vifm/vim/syntax/vifm.vim
/usr/share/zsh/site-functions/_vifm

References

Summary

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