dk_make_protocol command not found

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

Introduction

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

dk_make_protocol: command not found

or when using sudo you get the following error message

sudo: dk_make_protocol: command not found

Solutions to dk_make_protocol: command not found

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

In Ubuntu dk_make_protocol is provided by libdbuskit-dev package.

libdbuskit-dev is:

The DBusKit framework offers tight integration of D-Bus services into Objective-C applications. It handles all low-level details of communication with D-Bus daemons and the services connected to them and exposes an interface similar to Distributed Objects to make it easy for Objective-C programmers to access D-Bus services.

Features:

  • Distributed Objects-like API for exchanging messages with D-Bus services.
  • A notification center class for watching signals emitted by D-Bus services.
  • `dk_make_interface’ tool to generate Objective-C protocol declarations from D-Bus interface files.

This package contains the development files, API documentation, programming manual and the `dk_make_protocol’ tool.

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

sudo apt-get -y install libdbuskit-dev

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

You can also use apt command to install libdbuskit-dev.

sudo apt -y install libdbuskit-dev

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

sudo aptitude install libdbuskit-dev

Summary

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