minisat command not found

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

Introduction

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

minisat: command not found

or when using sudo you get the following error message

sudo: minisat: command not found

Solutions to minisat: command not found

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

In Ubuntu minisat is provided by minisat package.

minisat is:

Despite the NP completeness of the satisfiability problem of Boolean formulas (SAT), SAT solvers are often able to decide this problem in a reasonable time frame. As all other NP complete problems are reducible to SAT, the solvers have become a general purpose tool for this class of problems.

MiniSat is a minimalistic, open-source SAT solver, developed to help researchers and developers alike to get started on SAT. Winning all the industrial categories of the SAT 2005 competition, MiniSat is a good starting point both for future research in SAT, and for applications using SAT.

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

sudo apt-get -y install minisat

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

You can also use apt command to install minisat.

sudo apt -y install minisat

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

sudo aptitude install minisat

Summary

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