kmetis command not found

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

Introduction

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

kmetis: command not found

or when using sudo you get the following error message

sudo: kmetis: command not found

Solutions to kmetis: command not found

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

In Ubuntu kmetis is provided by metis-edf package.

metis-edf is:

METIS: A Family of Multilevel Partitioning Algorithms

This is a collection of serial and parallel programs & libraries that can be used to partitioning unstructured graphs, finite element meshes, and hypergraphs, both on serial as well as on parallel computers.

Adaptation of METIS for Code_Aster purpose

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

sudo apt-get -y install metis-edf

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

You can also use apt command to install metis-edf.

sudo apt -y install metis-edf

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

sudo aptitude install metis-edf

Summary

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