Sunday, December 30, 2018

How to resolve vim editor not found on XAMPP VM?


Software Required

- macOS High Sierra
- XAMPP-VM/PHP 7.3.0. Please refer to download
- Moodle version 3.6.1. Please refer to download

Problem
  • During the Moodle installation on XAMPP, vim editor is not available
  • Try to install vim editor by executing the command below
apt-get install vim
  • Error message as shown below is displayed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vim

Steps
  • Obviously, package index files are not up to date.
  • Run the command below, it will work like a charm. vim editor command is installed and it is ready for used.

apt-get update
apt-get install apt-file
apt-file update
apt-get install vim


      No comments: