inetd command not found

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

Introduction

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

inetd: command not found

or when using sudo you get the following error message

sudo: inetd: command not found

Solutions to inetd: command not found

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

In Ubuntu inetd is provided by openbsd-inetd package.

openbsd-inetd is:

The inetd server is a network daemon program that specializes in managing incoming network connections. Its configuration file tells it what program needs to be run when an incoming connection is received. Any service port may be configured for either of the tcp or udp protocols.

This is a port of the OpenBSD daemon with some debian-specific features. This package supports IPv6, built-in libwrap access control, binding to specific addresses, UNIX domain sockets and socket buffers tuning.

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

sudo apt-get -y install openbsd-inetd

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

You can also use apt command to install openbsd-inetd.

sudo apt -y install openbsd-inetd

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

sudo aptitude install openbsd-inetd

Summary

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