telnet.netkit command not found

In this troubleshooting guide we learn how to fix telnet.netkit command not found error message

Introduction

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

telnet.netkit: command not found

or when using sudo you get the following error message

sudo: telnet.netkit: command not found

Solutions to telnet.netkit: command not found

How To Fix telnet.netkit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu telnet.netkit is provided by telnet package.

telnet is:

The telnet command is used for interactive communication with another host using the TELNET protocol.

For the purpose of remote login, the present client executable should be depreciated in favour of an ssh-client, or in some cases with variants like telnet-ssl or Kerberized TELNET clients. The most important reason is that this implementation exchanges user name and password in clear text.

On the other hand, the present program does satisfy common use cases of network diagnostics, like protocol testing of SMTP services, so it can become handy enough.

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

sudo apt-get -y install telnet

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

You can also use apt command to install telnet.

sudo apt -y install telnet

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

sudo aptitude install telnet

Summary

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