ddupdate command not found

In this troubleshooting guide we learn how to fix ddupdate command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ddupdate: command not found

or when using sudo you get the following error message

sudo: ddupdate: command not found

Solutions to ddupdate: command not found

How To Fix ddupdate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ddupdate is provided by ddupdate package.

ddupdate is:

Updates dynamic IP addresses typically obtained using DHCP with dynamic DNS services such as changeip.com, duckdns.org or no-ip.com. This makes it possible to access a machine with a fixed name like myhost.duckdns.org even if the ip address changes. It is a linux-centric, user-friendly and secure alternative to the ubiquitous ddclient(8)

ddupdate has a plugin structure with plugins for obtaining the actual address (typically hardware-dependent) and to update it (service dependent). It is distributed with systemd support to run at regular intervals and with NetworkManager templates to run when interfaces goes up or down.

The package sports a simple interactive setup script which should be suitable in most cases.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ddupdate

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ddupdate.

sudo apt -y install ddupdate

Or if you have aptitude installed you can use the following command.

sudo aptitude install ddupdate

Summary

In this tutorial we learn how to fix ddupdate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.