xinetd command not found

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

Introduction

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

xinetd: command not found

or when using sudo you get the following error message

sudo: xinetd: command not found

Solutions to xinetd: command not found

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

In Ubuntu xinetd is provided by xinetd package.

xinetd is:

xinetd has access control mechanisms, extensive logging capabilities, the ability to make services available based on time, and can place limits on the number of servers that can be started, among other things.

It has the ability to redirect TCP streams to a remote host and port. This is useful for those of that use IP masquerading, or NAT, and want to be able to reach your internal hosts.

It also has the ability to bind specific services to specific interfaces. This is useful when you want to make services available for your internal network, but not the rest of the world. Or to have a different service running on the same port, but different interfaces.

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

sudo apt-get -y install xinetd

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

You can also use apt command to install xinetd.

sudo apt -y install xinetd

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

sudo aptitude install xinetd

Summary

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