booldnf command not found

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

Introduction

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

booldnf: command not found

or when using sudo you get the following error message

sudo: booldnf: command not found

Solutions to booldnf: command not found

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

In Ubuntu booldnf is provided by boolstuff package.

boolstuff is:

BoolStuff is a C++ library that supports a few operations on boolean expression binary trees.

This package includes extra programs that allow the usage of the library from the shell. A command named booldnf can be used to convert an expression to the Disjunctive Normal Form (DNF).

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

sudo apt-get -y install boolstuff

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

You can also use apt command to install boolstuff.

sudo apt -y install boolstuff

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

sudo aptitude install boolstuff

Summary

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