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