How to install vim on RedHat via commmandline

Lefty G Balogh picture Lefty G Balogh · Oct 25, 2016 · Viewed 14.5k times · Source

I am running a RHEL 7.2 (Maipo) on an AWS instance with commandline access. To my greatest surprise, vim needs to be installed and as I am fairly new to RedHat, I was at a loss initially as to the easiest way to install it, so I am adding it below for future reference so beginners like myself can just crack on with it.

Answer

Lefty G Balogh picture Lefty G Balogh · Oct 25, 2016

As root user issue the following command to install the vim editor on RedHat linux:

sudo yum install vim