mk_cmds command not found

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

Introduction

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

mk_cmds: command not found

or when using sudo you get the following error message

sudo: mk_cmds: command not found

Solutions to mk_cmds: command not found

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

In Ubuntu mk_cmds is provided by ss-dev package.

ss-dev is:

This package includes a tool that parses a command table to generate a simple command-line interface parser, the include files needed to compile and use it, and the static libs.

It was originally inspired by the Multics SubSystem library.

This package contains the development environment for the ss library.

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

sudo apt-get -y install ss-dev

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

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

sudo apt -y install ss-dev

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

sudo aptitude install ss-dev

Summary

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