gpmetis command not found

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

Introduction

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

gpmetis: command not found

or when using sudo you get the following error message

sudo: gpmetis: command not found

Solutions to gpmetis: command not found

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

In Ubuntu gpmetis is provided by metis package.

metis is:

METIS is a set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices. The algorithms implemented in METIS are based on the multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes. The package contains some binaries for graph analyzing.

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

sudo apt-get -y install metis

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

You can also use apt command to install metis.

sudo apt -y install metis

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

sudo aptitude install metis

Summary

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