How to Install VIM (Visual editor IMproved) on Fedora 21

Pre-Flight Check
  • These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 21.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Perhaps you received the error: -bash: vim: command not found… to resolve it, follow the instructions below!

Step #1: The Installation

As a matter of best practice we’ll update our packages:

yum -y update

Then let’s install VIM (Visual editor IMproved) and any required packages:

yum -y install vim-enhanced

Step #2: Verify the Application is Available

Now verify that the application is available by using the following command:

vim

~ VIM - Vi IMproved
~
~ version 7.4.640
~ by Bram Moolenaar et al.
~ Modified by
~ Vim is open source and freely distributable
~
~ Sponsor Vim development!
~ type :help sponsor for information
~
~ type :q to exit
~ type :help or for on-line help
~ type :help version7 for version info

Step #3: Learn VIM!

For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor

Try a Free Cloud Server.

Trying a new server is a breeze, and it’ll be up and running in only a few minutes...

Be Sociable, Share!
Here's $75, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support.