How To Install yadifa on Ubuntu 18.04

In this tutorial we learn how to install yadifa on Ubuntu 18.04. yadifa is Internet Domain Name Server

Introduction

In this tutorial we learn how to install yadifa on Ubuntu 18.04.

What is yadifa

yadifa is:

YADIFA is a lightweight authoritative Name Server with DNSSEC capabilities. Developed by the passionate people behind the .eu top-level domain, YADIFA has been built from scratch to face today’s DNS challenges, with no compromise on security, speed and stability, to offer a better and safer Internet experience. YADIFA has a simple configuration syntax and can handle more queries per second while maintaining one of the lowest memory footprints in the industry. YADIFA also has one of the fastest zone file load times ever recorded on a name server.

This package provides the server and related configuration files.

There are three methods to install yadifa on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install yadifa Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install yadifa

Install yadifa Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yadifa using apt by running the following command:

sudo apt -y install yadifa

Install yadifa 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install yadifa using aptitude by running the following command:

sudo aptitude -y install yadifa

How To Uninstall yadifa on Ubuntu 18.04

To uninstall only the yadifa package we can use the following command:

sudo apt-get remove yadifa

Uninstall yadifa And Its Dependencies

To uninstall yadifa and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove yadifa

Remove yadifa Configurations and Data

To remove yadifa configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge yadifa

Remove yadifa configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge yadifa

References

Summary

In this tutorial we learn how to install yadifa package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.