magics command not found

In this troubleshooting guide we learn how to fix magics command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

magics: command not found

or when using sudo you get the following error message

sudo: magics: command not found

Solutions to magics: command not found

How To Fix magics: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu magics is provided by magics++ package.

magics++ is:

Magics++ is the latest generation of the ECMWF’s Meteorological plotting software MAGICS. Although completely redesigned in C++, it is intended to be as backwards-compatible as possible with the Fortran interface. Besides its programming interfaces (Fortran and C), Magics++ offers MagML, a plot description language based on XML aimed at automatic web production.

This package contains the MagcML binary that may be used with magics++.

To fix this problem, we can install more using the command below.

sudo apt-get -y install magics++

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install magics++.

sudo apt -y install magics++

Or if you have aptitude installed you can use the following command.

sudo aptitude install magics++

Summary

In this tutorial we learn how to fix magics command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.