- These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 23.
- We’ll be working as root on a Liquid Web Self Managed Fedora 23 server. If you need to install vim on Fedora 22, visit this tutorial.
- If you’ve received the error “-bash: vim: command not found” while following any of our other tutorials, following the instructions below will resolve it.
Step #1: The Installation
As a matter of best practice we’ll update our packages:
dnf -y update
Then we’ll 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:
Running that code should result in output similar to the following:
~ VIM - Vi IMproved
VIM - Vi IMproved
~ version 7.4.827
~ by Bram Moolenaar et al.
~ Modified by <email@example.com>
~ Vim is open source and freely distributable
~ Help poor children in Uganda!
~ type :help iccf 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.