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

Reading Time: < 1 minute
Note:
Please note that this article is considered legacy documentation because Fedora 21 has reached its end-of-life support.
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 <bugzilla@redhat.com>
~ 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 about VIM!

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

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to use kill commands in Linux

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change the root password in WebHost Manager (WHM)

Read Article