How To Install ddd on Kali Linux
Introduction
In this tutorial we learn how to install ddd on Kali Linux.
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 Kali Linux. 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 updateAfter updating apt database, We can install ddd using apt-get by running the following command:
sudo apt-get -y install dddInstall ddd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ddd using apt by running the following command:
sudo apt -y install dddInstall ddd Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ddd using aptitude by running the following command:
sudo aptitude -y install dddHow To Uninstall ddd on Kali Linux
To uninstall only the ddd package we can use the following command:
sudo apt-get remove dddUninstall ddd And Its Dependencies
To uninstall ddd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove dddRemove ddd Configurations and Data
To remove ddd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge dddRemove 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 dddDependencies
ddd have the following dependencies:
References
Summary
In this tutorial we learn how to install ddd package on Kali Linux using different package management tools: apt, apt-get and aptitude.