telnet-client command not found

In this troubleshooting guide we learn how to fix telnet-client command not found error message

Introduction

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

telnet-client: command not found

or when using sudo you get the following error message

sudo: telnet-client: command not found

Solutions to telnet-client: command not found

How To Fix telnet-client: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu telnet-client is provided by libtelnet-utils package.

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.

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

sudo apt-get -y install libtelnet-utils

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

You can also use apt command to install libtelnet-utils.

sudo apt -y install libtelnet-utils

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

sudo aptitude install libtelnet-utils

Summary

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