vifm command not found

In this troubleshooting guide we learn how to fix vifm command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vifm: command not found

or when using sudo you get the following error message

sudo: vifm: command not found

Solutions to vifm: command not found

How To Fix vifm: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vifm is provided by vifm package.

vifm is:

Vifm is a file manager providing a vi-like usage experience. It has similar keybindings and modes (e.g. normal, command line, visual). The interface uses ncurses, thus vifm can be used in text-only environments. It supports a wide range of features, some of which are known from the vi-editor:

  • utf8 support
  • user mappings (almost like in vi)
  • ranges in command-line commands
  • user defined commands (with support for ranges)
  • registers
  • operation undoing/redoing
  • fuse file systems support
  • trash
  • multiple files renaming
  • support of filename modifiers
  • colorschemes support
  • file name color according to file type
  • path specific colorscheme customization
  • bookmarks
  • operation backgrounding
  • customizable file viewers
  • handy less-like preview mode
  • filtering out and searching for files using regular expressions
  • one or two panes view With the package comes a plugin to use vifm as a vim file selector.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vifm

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vifm.

sudo apt -y install vifm

Or if you have aptitude installed you can use the following command.

sudo aptitude install vifm

Summary

In this tutorial we learn how to fix vifm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.