phat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
phat: command not found
or when using sudo you get the following error message
sudo: phat: command not found
Solutions to phat: command not found
How To Fix phat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu phat is provided by phat-utils package.
phat-utils is:
The Persistent Homology Algorithm Toolox is a header-only C++ library for performing the filtered Z/2Z (co)boundary matrix operations commonly needed when computing (persistent) (co)homology in topological data analysis.
This package contains some standalone utilities built using the PHAT library, such as persistent homology of a given filtered boundary matrix.
To fix this problem, we can install more using the command below.
sudo apt-get -y install phat-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install phat-utils.
sudo apt -y install phat-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install phat-utils
Summary
In this tutorial we learn how to fix phat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.