How To Install libldns-dev on Kali Linux
Introduction
In this tutorial we learn how to install libldns-dev
on Kali Linux.
What is libldns-dev
libldns-dev is:
The goal of ldns is to simplify DNS programming, it supports recent RFCs like the DNSSEC documents, and allows developers to easily create software conforming to current RFCs, and experimental software for current Internet Drafts.
This package contains development libraries and headers.
There are three methods to install libldns-dev
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 libldns-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libldns-dev
using apt-get
by running the following command:
sudo apt-get -y install libldns-dev
Install libldns-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libldns-dev
using apt
by running the following command:
sudo apt -y install libldns-dev
Install libldns-dev 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 libldns-dev
using aptitude
by running the following command:
sudo aptitude -y install libldns-dev
How To Uninstall libldns-dev on Kali Linux
To uninstall only the libldns-dev
package we can use the following command:
sudo apt-get remove libldns-dev
Uninstall libldns-dev And Its Dependencies
To uninstall libldns-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libldns-dev
Remove libldns-dev Configurations and Data
To remove libldns-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libldns-dev
Remove libldns-dev configuration, data, and all of its dependencies
We can use the following command to remove libldns-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libldns-dev
Dependencies
libldns-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libldns-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.