How To Install ddd on AlmaLinux 8

In this tutorial we learn how to install ddd in AlmaLinux 8. ddd is GUI for several command-line debuggers

Introduction

In this tutorial we learn how to install ddd on AlmaLinux 8.

What is ddd

The Data Display Debugger (DDD) is a popular GUI for command-line debuggers like GDB, DBX, JDB, WDB, XDB, the Perl debugger, and the Python debugger. DDD allows you to view source texts and provides an interactive graphical data display, in which data structures are displayed as graphs. You can use your mouse to dereference pointers or view structure contents, which are updated every time the program stops. DDD can debug programs written in Ada, C, C++, Chill, Fortran, Java, Modula, Pascal, Perl, and Python. DDD provides machine-level debugging; hypertext source navigation and lookup; breakpoint, watchpoint, backtrace, and history editors; array plots; undo and redo; preferences and settings editors; program execution in the terminal emulation window, debugging on a remote host, an on-line manual, extensive help on the Motif user interface, and a command-line interface with full editing, history and completion capabilities.

We can use yum or dnf to install ddd on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ddd.

Install ddd on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ddd using dnf by running the following command:

sudo dnf -y install ddd

Install ddd on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ddd using yum by running the following command:

sudo yum -y install ddd

How To Uninstall ddd on AlmaLinux 8

To uninstall only the ddd package we can use the following command:

sudo dnf remove ddd

References

Summary

In this tutorial we learn how to install ddd on AlmaLinux 8 using yum and dnf.