How To Install vifm on Fedora 34

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

Introduction

In this tutorial we learn how to install vifm on Fedora 34.

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

Install vifm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove vifm

vifm Package Contents on Fedora 34

/etc/vifm
/etc/vifm/colors
/etc/vifm/colors/Default-256.vifm
/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/2f
/usr/lib/.build-id/2f/5193f2225cad36a17dd9e8f0d233f43107817d
/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/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/colorconv.vim
/usr/share/vifm/vim/autoload/vifm/edit.vim
/usr/share/vifm/vim/autoload/vifm/globals.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 Fedora 34 using yum and dnf.