How To Install ddd on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ddd
on Ubuntu 20.04.
What is ddd
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.
There are three methods to install ddd
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ddd Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install ddd
using apt-get
by running the following command:
Install ddd Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install ddd
using apt
by running the following command:
Install ddd Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
After updating apt database, We can install ddd
using aptitude
by running the following command:
How To Uninstall ddd on Ubuntu 20.04
To uninstall only the ddd
package we can use the following command:
Uninstall ddd And Its Dependencies
To uninstall ddd
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
Remove ddd Configurations and Data
To remove ddd
configuration and data from Ubuntu 20.04 we can use the following command:
Remove ddd configuration, data, and all of its dependencies
We can use the following command to remove ddd
configurations, data and all of its dependencies, we can use the following command:
References
Summary
In this tutorial we learn how to install ddd
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.