dbus-broker-launch command not found

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

Introduction

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

dbus-broker-launch: command not found

or when using sudo you get the following error message

sudo: dbus-broker-launch: command not found

Solutions to dbus-broker-launch: command not found

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

In Ubuntu dbus-broker-launch is provided by dbus-broker package.

dbus-broker is:

The dbus-broker project is an implementation of a message bus as defined by the D-Bus specification. Its aim is to provide high performance and reliability, while keeping compatibility to the D-Bus reference implementation. It is exclusively written for Linux systems, and makes use of many modern features provided by recent Linux kernel releases.

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

sudo apt-get -y install dbus-broker

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

You can also use apt command to install dbus-broker.

sudo apt -y install dbus-broker

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

sudo aptitude install dbus-broker

Summary

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