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

Reading Time: < 1 minute
Pre-Flight Check
  • These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 22.
  • I’ll be working from a Liquid Web Self Managed Fedora 22 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:

dnf -y update

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

dnf -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 Configure Remote Desktop to Transfer Files

Read Article

What is VMware Fusion?

Read Article

Five Steps to Create a Robots.txt File for Your Website

Read Article

Premium Business Email Pricing FAQ

Read Article

Microsoft Exchange Server Security Update

Read Article