How to Install telnet on CentOS

Question : When i try to perform the troubleshooting using telnet command, the following error appeared. How to fix this ?

[root@centos62 ~]# telnet localhost 25
-bash: telnet: command not found

Answer : Simply install telnet using this command :

[root@centos62 ~]# yum install telnet
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * rpmforge:
 * updates:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet.i686 1:0.17-47.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package         Arch          Version                Repository                     Size
 telnet          i686          1:0.17-47.el6          CentOS6.2-Repository           56 k

Transaction Summary
Install       1 Package(s)

Total download size: 56 k
Installed size: 102 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:telnet-0.17-47.el6.i686                                              1/1

  telnet.i686 1:0.17-47.el6


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>