How To Install ddd on Debian 10
Introduction
In this tutorial we learn how to install ddd
on Debian 10.
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 Debian 10. 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.
sudo apt-get update
After updating apt database, We can install ddd
using apt-get
by running the following command:
sudo apt-get -y install ddd
Install ddd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ddd
using apt
by running the following command:
sudo apt -y install ddd
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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ddd
using aptitude
by running the following command:
sudo aptitude -y install ddd
How To Uninstall ddd on Debian 10
To uninstall only the ddd
package we can use the following command:
sudo apt-get remove ddd
Uninstall ddd And Its Dependencies
To uninstall ddd
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove ddd
Remove ddd Configurations and Data
To remove ddd
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge ddd
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:
sudo apt-get -y autoremove --purge ddd
Dependencies
ddd have the following dependencies:
References
Summary
In this tutorial we learn how to install ddd
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.