gudhi-sparse-rips-persistence command not found

In this troubleshooting guide we learn how to fix gudhi-sparse-rips-persistence command not found error message

Introduction

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

gudhi-sparse-rips-persistence: command not found

or when using sudo you get the following error message

sudo: gudhi-sparse-rips-persistence: command not found

Solutions to gudhi-sparse-rips-persistence: command not found

How To Fix gudhi-sparse-rips-persistence: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gudhi-sparse-rips-persistence is provided by gudhi-utils package.

gudhi-utils is:

The GUDHI library is a generic open source C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. The library offers state-of-the-art data structures and algorithms to construct simplicial complexes and compute persistent homology.

This package contains some utilities built with the GUDHI library.

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

sudo apt-get -y install gudhi-utils

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

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

sudo apt -y install gudhi-utils

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

sudo aptitude install gudhi-utils

Summary

In this tutorial we learn how to fix gudhi-sparse-rips-persistence command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.