dbus-test-runner command not found

In this troubleshooting guide we learn how to fix dbus-test-runner command not found error message

Introduction

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

dbus-test-runner: command not found

or when using sudo you get the following error message

sudo: dbus-test-runner: command not found

Solutions to dbus-test-runner: command not found

How To Fix dbus-test-runner: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dbus-test-runner is provided by dbus-test-runner package.

dbus-test-runner is:

A simple little executable for running a couple of programs under a new DBus session.

Use this DBus tool for unit testing of code that accesses DBus at runtime.

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

sudo apt-get -y install dbus-test-runner

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

You can also use apt command to install dbus-test-runner.

sudo apt -y install dbus-test-runner

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

sudo aptitude install dbus-test-runner

Summary

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