How To Install ddd on Fedora 34

ddd is GUI for several command-line debuggers

Introduction

In this tutorial we learn how to install ddd on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ddd.

Install ddd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ddd

Install ddd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove ddd

ddd Package Contents on Fedora 34

/usr/bin/ddd
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/b5d8418e5e3fb768db69f7762251e9af74b56a
/usr/share/applications/ddd.desktop
/usr/share/ddd-3.3.12
/usr/share/ddd-3.3.12/COPYING
/usr/share/ddd-3.3.12/NEWS
/usr/share/ddd-3.3.12/ddd
/usr/share/ddd-3.3.12/ddd/Ddd
/usr/share/ddd-3.3.12/themes
/usr/share/ddd-3.3.12/themes/green.vsl
/usr/share/ddd-3.3.12/themes/red.vsl
/usr/share/ddd-3.3.12/themes/rednil.vsl
/usr/share/ddd-3.3.12/themes/smalltitles.vsl
/usr/share/ddd-3.3.12/themes/smallvalues.vsl
/usr/share/ddd-3.3.12/themes/suppress.vsl
/usr/share/ddd-3.3.12/themes/tinyvalues.vsl
/usr/share/ddd-3.3.12/themes/x86.vsl
/usr/share/ddd-3.3.12/vsllib
/usr/share/ddd-3.3.12/vsllib/arcs.vsl
/usr/share/ddd-3.3.12/vsllib/builtin.vsl
/usr/share/ddd-3.3.12/vsllib/colors.vsl
/usr/share/ddd-3.3.12/vsllib/ctree.vsl
/usr/share/ddd-3.3.12/vsllib/ddd.vsl
/usr/share/ddd-3.3.12/vsllib/flow.vsl
/usr/share/ddd-3.3.12/vsllib/flowplus.vsl
/usr/share/ddd-3.3.12/vsllib/fonts.vsl
/usr/share/ddd-3.3.12/vsllib/linebreak.vsl
/usr/share/ddd-3.3.12/vsllib/list.vsl
/usr/share/ddd-3.3.12/vsllib/slopes.vsl
/usr/share/ddd-3.3.12/vsllib/std.vsl
/usr/share/ddd-3.3.12/vsllib/struct.vsl
/usr/share/ddd-3.3.12/vsllib/symbols.vsl
/usr/share/ddd-3.3.12/vsllib/tab.vsl
/usr/share/ddd-3.3.12/vsllib/tree.vsl
/usr/share/ddd-3.3.12/vsllib/verbose.vsl
/usr/share/ddd-3.3.12/vsllib/vsl.vsl
/usr/share/ddd-3.3.12/vsllib/vsldef.vsl
/usr/share/ddd-3.3.12/vsllib/vsllib.vsl
/usr/share/doc/ddd
/usr/share/doc/ddd/AUTHORS
/usr/share/doc/ddd/COPYING
/usr/share/doc/ddd/COPYING.DOC
/usr/share/doc/ddd/CREDITS
/usr/share/doc/ddd/INSTALL
/usr/share/doc/ddd/NEWS
/usr/share/doc/ddd/PROBLEMS
/usr/share/doc/ddd/README
/usr/share/doc/ddd/TIPS
/usr/share/doc/ddd/ddd-paper.ps
/usr/share/icons/hicolor/48x48/apps/ddd.png
/usr/share/info/ddd-themes.info.gz
/usr/share/info/ddd.info-1.gz
/usr/share/info/ddd.info-2.gz
/usr/share/info/ddd.info.gz
/usr/share/man/man1/ddd.1.gz

References

Summary

In this tutorial we learn how to install ddd on Fedora 34 using yum and dnf.