How To Install inadyn on Ubuntu 18.04

In this tutorial we learn how to install inadyn on Ubuntu 18.04. inadyn is Simple and small DynDNS client written in the C language

Introduction

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

What is inadyn

inadyn is:

With this package the user can have an Internet name for his host even though he might not have a name server or a static IP. It works by being a client of a supposedly open name server and updating the server’s records when the need arise. A list of the servers that are supported is:

Some of the services of these servers are free of charge.

This is a command line tool that is written in portable ANSI C with a little OS abstraction layer. It can maintain multiple host names with the same IP address, and has a web based IP detection which runs well behind a NAT router.

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

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

sudo apt-get update

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

sudo apt-get -y install inadyn

Install inadyn Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install inadyn

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

sudo aptitude -y install inadyn

How To Uninstall inadyn on Ubuntu 18.04

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

sudo apt-get remove inadyn

Uninstall inadyn And Its Dependencies

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

sudo apt-get -y autoremove inadyn

Remove inadyn Configurations and Data

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

sudo apt-get -y purge inadyn

Remove inadyn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge inadyn

References

Summary

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