checkmk command not found

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

Introduction

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

checkmk: command not found

or when using sudo you get the following error message

sudo: checkmk: command not found

Solutions to checkmk: command not found

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

In Ubuntu checkmk is provided by check package.

check is:

Check features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.

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

sudo apt-get -y install check

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

You can also use apt command to install check.

sudo apt -y install check

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

sudo aptitude install check

Summary

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