How to Install Vim Text Editor in Linux ?

Vim is a improved VI Editor for Linux. It tries to overcome most of the limitations of default VI editor available in Linux. VIM can be used to edit all kinds of plain text. Vim is especially useful for editing software programs.

In this post, we will show how to install this editor in Linux. We are using Ubuntu, hence this post is using Ubuntu commands but you can also use similar command for the specific Linux distribution you are using.

Install VIM on Ubuntu

$ sudo apt install vim

Once, above command is successful, you can confirm vim is installed by either using “which vim” command or by typing “vim” command on terminal.

$ which vim
/usr/bin/vim

Leave a Comment