lrsnash command not found

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

Introduction

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

lrsnash: command not found

or when using sudo you get the following error message

sudo: lrsnash: command not found

Solutions to lrsnash: command not found

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

In Ubuntu lrsnash is provided by lrslib package.

lrslib is:

A convex polyhedron is the set of points satisfying a finite family of linear inequalities. The study of the vertices and extreme rays of such systems is important and useful in e.g. mathematics and optimization. In a dual interpretation, finding the vertices of a (bounded) polyhedron is equivalent to finding the convex hull (bounding inequalities) of an (arbitrary dimensional) set of points. Lrs (lexicographic reverse search) has two important features that can be very important for certain applications: it works in exact arithmetic, and it consumes memory proportional to the input, no matter how large the output is.

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

sudo apt-get -y install lrslib

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

You can also use apt command to install lrslib.

sudo apt -y install lrslib

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

sudo aptitude install lrslib

Summary

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