Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install vim on RedHat via commmandline

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.

like image 585
Lefty G Balogh Avatar asked Oct 25 '16 04:10

Lefty G Balogh


People also ask

What is sudo apt-get install Vim?

To get the full version of vim, install vim using the apt or apt-get command. Vim is a powerful text editor, which comes preinstalled in most Linux distributions. Ubuntu comes with Vim, vi, nano, Gedit (GUI), and many other text editors installed.


1 Answers

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

sudo yum install vim
like image 113
Lefty G Balogh Avatar answered Nov 08 '22 21:11

Lefty G Balogh