hera-bottleneck command not found

In this troubleshooting guide we learn how to fix hera-bottleneck command not found error message

Introduction

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

hera-bottleneck: command not found

or when using sudo you get the following error message

sudo: hera-bottleneck: command not found

Solutions to hera-bottleneck: command not found

How To Fix hera-bottleneck: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hera-bottleneck is provided by hera-utils package.

hera-utils is:

Some simple utilities for efficient bottleneck and Wasserstein distances between persistence diagrams built from the Hera library (see libhera-dev).

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

sudo apt-get -y install hera-utils

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

You can also use apt command to install hera-utils.

sudo apt -y install hera-utils

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

sudo aptitude install hera-utils

Summary

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