How To Install telnetd on Debian 12

Learn how to install telnetd on Debian 12 with this tutorial. telnetd is transitional dummy package for inetutils-telnetd default switch

Introduction

In this tutorial we learn how to install telnetd on Debian 12.

What is telnetd

telnetd is:

This package will force a switch from the old netkit telnetd implementation to the inetutils-telnetd one, which is an upstream maintained project.

This package can be safely removed once it has been upgraded, as inetutils-telnetd provides a matching virtual package. It will stop being provided after Debian bookworm’s release.

If you want to keep using the netkit implementation, then install telnetd-ssl instead, and run in.telnetd with the ?-z nossl? argument for the clear-text protocol.

There are three methods to install telnetd on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install telnetd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install telnetd

Install telnetd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install telnetd using apt by running the following command:

sudo apt -y install telnetd

Install telnetd 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install telnetd using aptitude by running the following command:

sudo aptitude -y install telnetd

How To Uninstall telnetd on Debian 12

To uninstall only the telnetd package we can use the following command:

sudo apt-get remove telnetd

Uninstall telnetd And Its Dependencies

To uninstall telnetd and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove telnetd

Remove telnetd Configurations and Data

To remove telnetd configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge telnetd

Remove telnetd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge telnetd

Dependencies

telnetd have the following dependencies:

References

Summary

In this tutorial we learn how to install telnetd package on Debian 12 using different package management tools: apt, apt-get and aptitude.