How To Install openbsd-inetd on Ubuntu 18.04

In this tutorial we learn how to install openbsd-inetd on Ubuntu 18.04. openbsd-inetd is OpenBSD Internet Superserver

Introduction

In this tutorial we learn how to install openbsd-inetd on Ubuntu 18.04.

What is openbsd-inetd

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.

There are three methods to install openbsd-inetd 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 openbsd-inetd Using apt-get

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

sudo apt-get update

After updating apt database, We can install openbsd-inetd using apt-get by running the following command:

sudo apt-get -y install openbsd-inetd

Install openbsd-inetd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openbsd-inetd using apt by running the following command:

sudo apt -y install openbsd-inetd

Install openbsd-inetd 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 openbsd-inetd using aptitude by running the following command:

sudo aptitude -y install openbsd-inetd

How To Uninstall openbsd-inetd on Ubuntu 18.04

To uninstall only the openbsd-inetd package we can use the following command:

sudo apt-get remove openbsd-inetd

Uninstall openbsd-inetd And Its Dependencies

To uninstall openbsd-inetd and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove openbsd-inetd

Remove openbsd-inetd Configurations and Data

To remove openbsd-inetd configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge openbsd-inetd

Remove openbsd-inetd configuration, data, and all of its dependencies

We can use the following command to remove openbsd-inetd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openbsd-inetd

References

Summary

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