metamath command not found

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

Introduction

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

metamath: command not found

or when using sudo you get the following error message

sudo: metamath: command not found

Solutions to metamath: command not found

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

In Ubuntu metamath is provided by metamath package.

metamath is:

Metamath is a tiny language for expressing theorems in abstract mathematics, accompanied by proofs that can be verified by a computer program.

This program is the reference implementation of the language. It provides a proof checker, a proof editor and tools to automatically render theorems and proofs to HTML and LaTeX files.

This package does not contain proof databases, but the tools to deal with them. The user can create their own databases, use those available on the Internet or provided by the metamath-databases package.

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

sudo apt-get -y install metamath

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

You can also use apt command to install metamath.

sudo apt -y install metamath

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

sudo aptitude install metamath

Summary

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