How To Install dhis-dns-engine on Debian 10

Learn how to install dhis-dns-engine on Debian 10 with this tutorial. dhis-dns-engine is Dynamic Host Information System - DNS engine

Introduction

In this tutorial we learn how to install dhis-dns-engine on Debian 10.

What is dhis-dns-engine

dhis-dns-engine is:

This package contains a dynamic DNS service module to be used with dhisd release 5 or above.

While the DHIS server dhisd retrieves dynamic IP addresses from clients, this module allows the server to update a dynamic DNS zone based on those retrieved IP addresses.

There are three methods to install dhis-dns-engine 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 dhis-dns-engine Using apt-get

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

sudo apt-get update

After updating apt database, We can install dhis-dns-engine using apt-get by running the following command:

sudo apt-get -y install dhis-dns-engine

Install dhis-dns-engine Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dhis-dns-engine using apt by running the following command:

sudo apt -y install dhis-dns-engine

Install dhis-dns-engine 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 dhis-dns-engine using aptitude by running the following command:

sudo aptitude -y install dhis-dns-engine

How To Uninstall dhis-dns-engine on Debian 10

To uninstall only the dhis-dns-engine package we can use the following command:

sudo apt-get remove dhis-dns-engine

Uninstall dhis-dns-engine And Its Dependencies

To uninstall dhis-dns-engine and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove dhis-dns-engine

Remove dhis-dns-engine Configurations and Data

To remove dhis-dns-engine configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge dhis-dns-engine

Remove dhis-dns-engine configuration, data, and all of its dependencies

We can use the following command to remove dhis-dns-engine configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dhis-dns-engine

Dependencies

dhis-dns-engine have the following dependencies:

References

Summary

In this tutorial we learn how to install dhis-dns-engine package on Debian 10 using different package management tools: apt, apt-get and aptitude.