qb-blackbox command not found

In this troubleshooting guide we learn how to fix qb-blackbox command not found error message

Introduction

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

qb-blackbox: command not found

or when using sudo you get the following error message

sudo: qb-blackbox: command not found

Solutions to qb-blackbox: command not found

How To Fix qb-blackbox: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qb-blackbox is provided by libqb-tools package.

libqb-tools is:

libqb provides a set of high performance client-server reusable features. It offers high performance logging, tracing, IPC and poll. Its initial features were spun off the Corosync cluster communication suite to make them accessible for other projects.

This package contains the qb-blackbox utility, which prints out the logs that were recorded using the libqb blackbox mechanism.

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

sudo apt-get -y install libqb-tools

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

You can also use apt command to install libqb-tools.

sudo apt -y install libqb-tools

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

sudo aptitude install libqb-tools

Summary

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