mtest command not found

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

Introduction

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

mtest: command not found

or when using sudo you get the following error message

sudo: mtest: command not found

Solutions to mtest: command not found

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

In Ubuntu mtest is provided by parmetis-test package.

parmetis-test is:

ParMetis computes minimal-cut partitions of graphs and meshes in parallel, and orders variables for minimal fill when using direct solvers for sparse matrices. It does all this in parallel, and also can efficiently re-partition a graph or mesh whose connectivity has changed.

This package contains programs which test the ParMetis libraries using files in the parmetis-doc package’s examples directory.

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

sudo apt-get -y install parmetis-test

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

You can also use apt command to install parmetis-test.

sudo apt -y install parmetis-test

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

sudo aptitude install parmetis-test

Summary

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