Introduction
In this tutorial we learn how to install dh-ada-library
on Kali Linux.
What is dh-ada-library
dh-ada-library is:
Debhelper tools to ease common tasks in packaging libraries written
in the Ada programming language, following the Debian Policy for Ada
(http://people.debian.org/~lbrenta/debian-ada-policy.html).
A specific gnat-X is recommended via the gnat package, but any
version should be supported.
There are three methods to install dh-ada-library
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 dh-ada-library Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dh-ada-library
using apt-get
by running the following command:
sudo apt-get -y install dh-ada-library
Install dh-ada-library Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dh-ada-library
using apt
by running the following command:
sudo apt -y install dh-ada-library
Install dh-ada-library 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 update
After updating apt database, We can install dh-ada-library
using aptitude
by running the following command:
sudo aptitude -y install dh-ada-library
How To Uninstall dh-ada-library on Kali Linux
To uninstall only the dh-ada-library
package we can use the following command:
sudo apt-get remove dh-ada-library
Uninstall dh-ada-library And Its Dependencies
To uninstall dh-ada-library
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove dh-ada-library
Remove dh-ada-library Configurations and Data
To remove dh-ada-library
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge dh-ada-library
Remove dh-ada-library configuration, data, and all of its dependencies
We can use the following command to remove dh-ada-library
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dh-ada-library
Dependencies
dh-ada-library have the following dependencies:
- libc6
- libgcc-s1
- libgnat-10
- libgnatprj8
- libxmlada-dom7
- libxmlada-input7
- libxmlada-sax7
- libxmlada-schema7
- libxmlada-unicode7
- perl
References
Summary
In this tutorial we learn how to install dh-ada-library
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.