×


Related to apt get install telnet


Install Telnet Server and Client on Ubuntu 20.04 LTS - Step by step guide ?

This article covers how you can easily install the Telnet server and client on your Ubuntu machines. In fact, Telnet is a command protocol that allows a user to connect to a remote host. It makes use of TCP/IP protocol to establish a connection with the remote computer.


The general format of the telnet command is:

telnet [hostname/ipaddress] [port number]


How to install telnet on AlmaLinux / Rocky Linux / CentOS / Fedora ?

Telnet command can be installed using YUM in all CentOS and Fedora distributions.

1. Execute the below command to install telnet:

# yum -y install telnet

2. Verify that the command is installed successfully:

# telnet localhost 22


How to install telnet on Ubuntu / Debian ?

Telnet command can be installed both in Ubuntu and Debian systems using the APT command.

1. Execute the below command to install telnet:

# apt-get install telnet

2. Verify that the command is installed successfully:

# telnet localhost 22