mg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mg: command not found
or when using sudo you get the following error message
sudo: mg: command not found
Solutions to mg: command not found
How To Fix mg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mg is provided by mg package.
mg is:
This program is intended to be a small, fast, and portable editor for people who can’t (or don’t want to) run real Emacs for one reason or another. It is compatible with GNU because there shouldn’t be any reason to learn more than one Emacs flavor.
Packages which provide editors with broadly similar goals include
- e3;
- joe;
- jove and xjove;
- ng-cjk, ng-cjk-canna and ng-latin;
- qemacs and qemacs-nox; and
- zile
To fix this problem, we can install more using the command below.
sudo apt-get -y install mg
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mg.
sudo apt -y install mg
Or if you have aptitude installed you can use the following command.
sudo aptitude install mg
Summary
In this tutorial we learn how to fix mg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.