depdiagram_generate_all command not found

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

Introduction

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

depdiagram_generate_all: command not found

or when using sudo you get the following error message

sudo: depdiagram_generate_all: command not found

Solutions to depdiagram_generate_all: command not found

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

In Ubuntu depdiagram_generate_all is provided by kapidox package.

kapidox is:

Framework to aid in creating API documentation for KDE Frameworks in a standard format and style.

The Doxygen tool is used to do the actual documentation extraction and formatting, but this framework provides a wrapper script to make generating the documentation more convenient (including reading settings from the target framework or other module) and a standard template for the generated documentation.

Scripts currently provided are depdiagram-generate-all, kgenframeworksapidox, depdiagram-generate, kgenapidox, and depdiagram-prepare

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

sudo apt-get -y install kapidox

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

You can also use apt command to install kapidox.

sudo apt -y install kapidox

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

sudo aptitude install kapidox

Summary

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