rinetd command not found

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

Introduction

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

rinetd: command not found

or when using sudo you get the following error message

sudo: rinetd: command not found

Solutions to rinetd: command not found

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

In Ubuntu rinetd is provided by rinetd package.

rinetd is:

rinetd redirects TCP connections from one IP address and port to another, with basic IP-based access control.

rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the file /etc/rinetd.conf. Since rinetd runs as a single process using nonblocking I/O, it is able to redirect a large number of connections without a severe impact on the machine. This makes it practical to run services on machines inside an IP masquerading firewall.

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

sudo apt-get -y install rinetd

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

You can also use apt command to install rinetd.

sudo apt -y install rinetd

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

sudo aptitude install rinetd

Summary

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