Installing VIM (Editor) on Linux (POSIX)

Current Configuration:

  • OS: Linux

Prerequisites

  • None

VIM is one of the most popular text editors on Linux, mostly because of their versatility and extensions capabilities. VIM's a variant of VI, a native editor, enable on almost all existing Linux/Unix platforms, for this reason, you need to install it before using it over the console. The following tutorial want's to show you how to install VIM on the main used Linux distributions.

Personally, VIM was my first console editor. Their functionalities and use of commands to execute actions, catch me into it, made me fall in love with it.

To install VIM on our computers or servers, we need to proceed with the following commands, depending on your distribution o available Package Manager:

CentOS / Red Hat / Fedora (YUM o DNF)

yum install vim -y 

Debian / Ubuntu (APT - APT-GET)

apt-get install vim -y

Or

apt install vim -y 

SUSE / openSUSE (ZYpp)

zypper in vim -y 

This command starts the installation process, including any dependency needed by the application.

After this, the vim command it's going to be available, providing you access to one of the powerful editors existing on the console.

Happy Coding!

More? Here a quick guide to use VIM: