vim is a free and open source text editor. vim stands from Vi IMproved,it is based upon vi editor. vim can be used in command line as well in Graphical User Mode. Vim editor was developed by Bram Moolenar.

The installation of vim in Linux Mint is very simple and quick.Follow the simple steps to install vim

Step 1: Open the terminal

Step 2: Write the below given command.

sudo apt-get install vim

Below given is the reference from my system

sharad@LinuxMint ~ $ sudo apt-get install vim
sudo: unable to resolve host LinuxMint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  vim-runtime
Suggested packages:
  ctags vim-doc vim-scripts
The following NEW packages will be installed:
  vim vim-runtime
0 upgraded, 2 newly installed, 0 to remove and 301 not upgraded.
Need to get 5,424 kB of archives.
After this operation, 25.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ raring/main vim-runtime all 2:7.3.547-6ubuntu5 [4,533 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ raring/main vim amd64 2:7.3.547-6ubuntu5 [891 kB]                                
Fetched 5,424 kB in 11s (478 kB/s)                                                                                       
Selecting previously unselected package vim-runtime.
(Reading database ... 160875 files and directories currently installed.)
Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.547-6ubuntu5_all.deb) ...
Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim73/doc/tags to /usr/share/vim/vim73/doc/tags.vim-tiny by vim-runtime'
Selecting previously unselected package vim.
Unpacking vim (from .../vim_2%3a7.3.547-6ubuntu5_amd64.deb) ...
Processing triggers for man-db ...
Setting up vim-runtime (2:7.3.547-6ubuntu5) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.547-6ubuntu5) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
sharad@LinuxMint ~ $

After installation get completed,you will be able to run vim editor by vim command.

Read Some More Articles

3 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.