How To Install vifm on Kali Linux
Introduction
In this tutorial we learn how to install vifm on Kali Linux.
What is vifm
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.
There are three methods to install vifm on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install vifm Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install vifm using apt-get by running the following command:
sudo apt-get -y install vifmInstall vifm Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install vifm using apt by running the following command:
sudo apt -y install vifmInstall vifm Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install vifm using aptitude by running the following command:
sudo aptitude -y install vifmHow To Uninstall vifm on Kali Linux
To uninstall only the vifm package we can use the following command:
sudo apt-get remove vifmUninstall vifm And Its Dependencies
To uninstall vifm and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove vifmRemove vifm Configurations and Data
To remove vifm configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge vifmRemove vifm configuration, data, and all of its dependencies
We can use the following command to remove vifm configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge vifmDependencies
vifm have the following dependencies:
References
Summary
In this tutorial we learn how to install vifm package on Kali Linux using different package management tools: apt, apt-get and aptitude.