How To Install ddd on CentOS 7
Introduction
In this tutorial we learn how to install ddd
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ddd.
Install ddd on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install ddd
using yum
by running the following command:
sudo yum -y install ddd
Install ddd on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install ddd
using dnf
by running the following command:
sudo dnf -y install ddd
How To Uninstall ddd on CentOS 7
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 CentOS 7 using yum
and dnf
.