matho command not found

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

Introduction

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

matho: command not found

or when using sudo you get the following error message

sudo: matho: command not found

Solutions to matho: command not found

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

In Ubuntu matho is provided by mathomatic package.

mathomatic is:

Mathomatic implements most of the rules of algebra for the mathematical operators +, -, *, /, % (modulus), and power (including roots).

Mathomatic can symbolically:

  • combine and solve equations,
  • completely simplify and compare expressions and equations,
  • do simple calculus transformations and series,
  • do standard, complex number, modular, and polynomial arithmetic,
  • generate optimized C, Java, and Python language code from simplified equations,
  • plot expressions with gnuplot in two or three dimensions,
  • do quick calculations, colorize expressions, etc.

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

sudo apt-get -y install mathomatic

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

You can also use apt command to install mathomatic.

sudo apt -y install mathomatic

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

sudo aptitude install mathomatic

Summary

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