ripser command not found

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

Introduction

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

ripser: command not found

or when using sudo you get the following error message

sudo: ripser: command not found

Solutions to ripser: command not found

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

In Ubuntu ripser is provided by ripser package.

ripser is:

Ripser computes persistent homology of flag complexes (such as Vietoris-Rips complexes) only, allowing significant gains in computation time and memory usage over the general situation.

See https://arxiv.org/abs/1908.02518.

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

sudo apt-get -y install ripser

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

You can also use apt command to install ripser.

sudo apt -y install ripser

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

sudo aptitude install ripser

Summary

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