How To Install libtelnet-utils on Kali Linux

In this tutorial we learn how to install libtelnet-utils on Kali Linux. libtelnet-utils is Small library for parsing the TELNET protocol - utilities

Introduction

In this tutorial we learn how to install libtelnet-utils on Kali Linux.

What is libtelnet-utils

libtelnet-utils is:

libtelnet is a small library for parsing the TELNET protocol, responding to TELNET commands via an event interface, and generating valid TELNET commands.

libtelnet includes support for the non-official MCCP, MCCP2, ZMP, and MSSP protocols used by MUD servers and clients.

This package contains a small set of utilities based on libtelnet for testing and debugging TELNET clients.

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

Install libtelnet-utils Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libtelnet-utils

Install libtelnet-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtelnet-utils

Install libtelnet-utils Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libtelnet-utils

How To Uninstall libtelnet-utils on Kali Linux

To uninstall only the libtelnet-utils package we can use the following command:

sudo apt-get remove libtelnet-utils

Uninstall libtelnet-utils And Its Dependencies

To uninstall libtelnet-utils and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libtelnet-utils

Remove libtelnet-utils Configurations and Data

To remove libtelnet-utils configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libtelnet-utils

Remove libtelnet-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtelnet-utils

Dependencies

libtelnet-utils have the following dependencies:

References

Summary

In this tutorial we learn how to install libtelnet-utils package on Kali Linux using different package management tools: apt, apt-get and aptitude.