How To Install libtelnet-dev on Kali Linux
Introduction
In this tutorial we learn how to install libtelnet-dev
on Kali Linux.
What is libtelnet-dev
libtelnet-dev 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 the libtelnet development support files.
There are three methods to install libtelnet-dev
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-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install libtelnet-dev
Install libtelnet-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtelnet-dev
using apt
by running the following command:
sudo apt -y install libtelnet-dev
Install libtelnet-dev 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-dev
using aptitude
by running the following command:
sudo aptitude -y install libtelnet-dev
How To Uninstall libtelnet-dev on Kali Linux
To uninstall only the libtelnet-dev
package we can use the following command:
sudo apt-get remove libtelnet-dev
Uninstall libtelnet-dev And Its Dependencies
To uninstall libtelnet-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtelnet-dev
Remove libtelnet-dev Configurations and Data
To remove libtelnet-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtelnet-dev
Remove libtelnet-dev configuration, data, and all of its dependencies
We can use the following command to remove libtelnet-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtelnet-dev
Dependencies
libtelnet-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libtelnet-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.