rmath command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rmath: command not found
or when using sudo you get the following error message
sudo: rmath: command not found
Solutions to rmath: command not found
How To Fix rmath: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rmath 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 rmath command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.