How To Install dyndns on Ubuntu 20.04

In this tutorial we learn how to install dyndns on Ubuntu 20.04. dyndns is dynamic DNS (DDNS) update client implemented in Perl

Introduction

In this tutorial we learn how to install dyndns on Ubuntu 20.04.

What is dyndns

dyndns is:

Map dynamic IP address into your.hostname.example.org. A cross-platform solution for DHCP ISP-connected users to obtain permanent DNS, MX, and Web hosting service from a DDNS provider (e.g. dyndns.org). Works anywhere where Perl is installed.

There are three methods to install dyndns on Ubuntu 20.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 dyndns Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dyndns

Install dyndns Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dyndns

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

sudo aptitude -y install dyndns

How To Uninstall dyndns on Ubuntu 20.04

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

sudo apt-get remove dyndns

Uninstall dyndns And Its Dependencies

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

sudo apt-get -y autoremove dyndns

Remove dyndns Configurations and Data

To remove dyndns configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge dyndns

Remove dyndns configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dyndns

References

Summary

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