How To Install isc-dhcp-client-ddns on Ubuntu 18.04

In this tutorial we learn how to install isc-dhcp-client-ddns on Ubuntu 18.04. isc-dhcp-client-ddns is Dynamic DNS (DDNS) enabled DHCP client

Introduction

In this tutorial we learn how to install isc-dhcp-client-ddns on Ubuntu 18.04.

What is isc-dhcp-client-ddns

isc-dhcp-client-ddns is:

This a Dynamic DNS enabled version of the DHCP client.

Dynamic Host Configuration Protocol (DHCP) is a protocol like BOOTP (actually dhcpd includes much of the functionality of bootpd). It gives client machines “leases” for IP addresses and can automatically set their network configuration. If your machine depends on DHCP (especially likely if it’s a workstation on a large network, or a laptop, or attached to a cable modem), keep this or another DHCP client installed.

Extra documentation can be found in the package isc-dhcp-common.

There are three methods to install isc-dhcp-client-ddns 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 isc-dhcp-client-ddns Using apt-get

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

sudo apt-get update

After updating apt database, We can install isc-dhcp-client-ddns using apt-get by running the following command:

sudo apt-get -y install isc-dhcp-client-ddns

Install isc-dhcp-client-ddns Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install isc-dhcp-client-ddns using apt by running the following command:

sudo apt -y install isc-dhcp-client-ddns

Install isc-dhcp-client-ddns 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 isc-dhcp-client-ddns using aptitude by running the following command:

sudo aptitude -y install isc-dhcp-client-ddns

How To Uninstall isc-dhcp-client-ddns on Ubuntu 18.04

To uninstall only the isc-dhcp-client-ddns package we can use the following command:

sudo apt-get remove isc-dhcp-client-ddns

Uninstall isc-dhcp-client-ddns And Its Dependencies

To uninstall isc-dhcp-client-ddns and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove isc-dhcp-client-ddns

Remove isc-dhcp-client-ddns Configurations and Data

To remove isc-dhcp-client-ddns configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge isc-dhcp-client-ddns

Remove isc-dhcp-client-ddns configuration, data, and all of its dependencies

We can use the following command to remove isc-dhcp-client-ddns configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge isc-dhcp-client-ddns

References

Summary

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