How To Install djbdns-conf on Kali Linux

In this tutorial we learn how to install djbdns-conf on Kali Linux. djbdns-conf is programs to create service directories

Introduction

In this tutorial we learn how to install djbdns-conf on Kali Linux.

What is djbdns-conf

djbdns-conf is:

For each kind of server (tinydns, dnscache, axfrdns, walldns, rbldns) upstream provides program to create service directory for that server.

Service directories are part of corresponding binary packages, the only case when you may need this package is unlikely case when you want to run several instances of same service at single machine.

Service directories, created by programs in this package are compatible with both runit(8) and daemontools(8) supervision suites, but are somewhat simplistic – they store log files in same place as configuration, for example.

There are three methods to install djbdns-conf 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 djbdns-conf Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install djbdns-conf using apt-get by running the following command:

sudo apt-get -y install djbdns-conf

Install djbdns-conf Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install djbdns-conf using apt by running the following command:

sudo apt -y install djbdns-conf

Install djbdns-conf 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 djbdns-conf using aptitude by running the following command:

sudo aptitude -y install djbdns-conf

How To Uninstall djbdns-conf on Kali Linux

To uninstall only the djbdns-conf package we can use the following command:

sudo apt-get remove djbdns-conf

Uninstall djbdns-conf And Its Dependencies

To uninstall djbdns-conf and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove djbdns-conf

Remove djbdns-conf Configurations and Data

To remove djbdns-conf configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge djbdns-conf

Remove djbdns-conf configuration, data, and all of its dependencies

We can use the following command to remove djbdns-conf configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge djbdns-conf

Dependencies

djbdns-conf have the following dependencies:

References

Summary

In this tutorial we learn how to install djbdns-conf package on Kali Linux using different package management tools: apt, apt-get and aptitude.