How to Install Vim on CentOS

To install vim, run the following command from a CentOS shell:

sudo yum install vim-enhanced.i386

Tested on CentOS 5.3 (32 bit).

How to Find the Yum Package for Vim

To find the command, run:

yum search vim

The gives you the different packages mentioning vim:

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge:
================================================================================= Matched: vim =================================================================================
vim-X11.i386 : The VIM version of the vi editor for the X Window System.
vim-common.i386 : The common files needed by any version of the VIM editor.
vim-enhanced.i386 : A version of the VIM editor which includes recent enhancements.
vim-minimal.i386 : A minimal version of the VIM editor.
Tagged . Bookmark the permalink.

2 Responses to How to Install Vim on CentOS

  1. Hadi Sim says:

    Thanks Taz! Nice and concise as I expected. :)

Leave a Reply

Your email address will not be published. Required fields are marked *