How to Install/Remove telnet Command from Linux Server
How to Install telnet package on centOS 6, CentOs 7, RHEL 6, RHEL 7 Servers
Log into your Linux Server via SSH and check whether telnet command is already installed or not.
Do the below steps to install telnet command :
Resolving Dependencies
–> Running transaction check
—> Package telnet.x86_64 1:0.17-59.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
telnet x86_64 1:0.17-59.el7 base 63 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package
Total download size: 63 k
Installed size: 113 k
Is this ok [y/d/N]: y
Downloading packages:
telnet-0.17-59.el7.x86_64.rpm | 63 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:telnet-0.17-59.el7.x86_64 1/1
Verifying : 1:telnet-0.17-59.el7.x86_64 1/1
Installed:
telnet.x86_64 1:0.17-59.el7
Complete!
Telnet command is now installed on the Linux Server.
Trying 118.161.36.172…
Connected to globedrill.com.
2. How to remove/uninstall telnet package from centOS 6, CentOS 7, RHEL 6 & 7 Servers
Command to remove telnet package from Linux Server : #yum remove telnet
Loaded plugins: fastestmirror
Resolving Dependencies
–> Running transaction check
—> Package telnet.x86_64 1:0.17-59.el7 will be erased
–> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Removing:
telnet x86_64 1:0.17-59.el7 installed 113 k
Transaction Summary
========================================================================================================================================================================
Remove 1 Package
Installed size: 113 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : 1:telnet-0.17-59.el7.x86_64 1/1
Verifying : 1:telnet-0.17-59.el7.x86_64 1/1
Removed:
telnet.x86_64 1:0.17-59.el7
Complete!
Telnet command is now removed from the Linux server.