draw_lib_dependencies command not found

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

Introduction

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

draw_lib_dependencies: command not found

or when using sudo you get the following error message

sudo: draw_lib_dependencies: command not found

Solutions to draw_lib_dependencies: command not found

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

In Ubuntu draw_lib_dependencies is provided by kdesdk-scripts package.

kdesdk-scripts is:

This package contains scripts and data files to facilitate development of KDE software. Also included are scripts which are not specific to KDE, such as helper scripts for working with Subversion and CVS repositories.

In addition to these scripts, this package provides:

  • gdb macros for Qt programming
  • Vim and EMACS helper files for Qt/KDE programming
  • bash and zsh completion rules for KDE applications
  • Valgrind error suppressions for KDE applications

This package is part of the KDE Software Development Kit module.

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

sudo apt-get -y install kdesdk-scripts

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

You can also use apt command to install kdesdk-scripts.

sudo apt -y install kdesdk-scripts

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

sudo aptitude install kdesdk-scripts

Summary

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