ddd command not found

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

Introduction

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

ddd: command not found

or when using sudo you get the following error message

sudo: ddd: command not found

Solutions to ddd: command not found

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

In Ubuntu ddd is provided by ddd package.

ddd is:

The Data Display Debugger (DDD) is a popular graphical user interface to UNIX debuggers such as GDB, DBX, XDB, JDB and others. Besides typical front-end features such as viewing source texts and breakpoints, DDD provides an interactive graphical data display, where data structures are displayed as graphs. Using DDD, you can reason about your application by watching its data, not just by viewing it execute lines of source code.

Other DDD features include: debugging of programs written in Ada, Bash, C, C++, Chill, Fortran, Java, Modula, Pascal, Perl and Python; machine-level debugging; hypertext source navigation and lookup; breakpoint, backtrace, and history editors; preferences and settings editors; program execution in terminal emulator window; debugging on remote host; on-line manual; interactive help on the Motif user interface; GDB/DBX/XDB command-line interface with full editing, history, and completion capabilities.

This version is linked against Lesstif, an LGPL-ed implementation of Motif.

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

sudo apt-get -y install ddd

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

You can also use apt command to install ddd.

sudo apt -y install ddd

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

sudo aptitude install ddd

Summary

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