How To Install reconf-inetd on Ubuntu 18.04

In this tutorial we learn how to install reconf-inetd on Ubuntu 18.04. reconf-inetd is maintainer script for programmatic updates of inetd.conf

Introduction

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

What is reconf-inetd

reconf-inetd is:

reconf-inetd is invoked by maintainer scripts to update the configuration of the internet superserver. It is a replacement for update-inetd, as per DEP9.

If the above does not mean anything to you, then you most certainly do not need this package.

There are three methods to install reconf-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 reconf-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 reconf-inetd using apt-get by running the following command:

sudo apt-get -y install reconf-inetd

Install reconf-inetd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install reconf-inetd

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

sudo aptitude -y install reconf-inetd

How To Uninstall reconf-inetd on Ubuntu 18.04

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

sudo apt-get remove reconf-inetd

Uninstall reconf-inetd And Its Dependencies

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

sudo apt-get -y autoremove reconf-inetd

Remove reconf-inetd Configurations and Data

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

sudo apt-get -y purge reconf-inetd

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

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

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

References

Summary

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