Categories
CentOS

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: ftp-stud.fht-esslingen.de
================================================================================= 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.

2 replies on “How to Install Vim on CentOS”

Comments are closed.