telnet is not available by default on a higher version of CentOS/RHEL and MacOS. But that doesn’t mean you can’t get it installed. When you run telnet, you will notice the following error. To fix this, you need to install telnet and it’s easy.

Installing telnet on CentOS/RHEL

Log in to the server as root Run the below command to install

You can also use DNF if using CentOS 8. It’ll download the package and install and show you the complete confirmation below. Now, you can run telnet Have fun!

Installing telnet on MacOS

To install telnet on MacOS, you need to have/install Homebrew.

Launch terminal and run the below command to install Homebrew (skip if you already have)

It will take a few seconds and once done; you will see the success message.

Great, its time to install telnet using brew command

It will download and install the necessary package. Once done, rerun the telnet.

It was easy. Isn’t it? Want to build a career in Sysadmin? Check out this Linux administration online course.

telnet command not found on CentOS  RHEL  MacOS   Fixed - 32telnet command not found on CentOS  RHEL  MacOS   Fixed - 13telnet command not found on CentOS  RHEL  MacOS   Fixed - 9telnet command not found on CentOS  RHEL  MacOS   Fixed - 11telnet command not found on CentOS  RHEL  MacOS   Fixed - 71telnet command not found on CentOS  RHEL  MacOS   Fixed - 79telnet command not found on CentOS  RHEL  MacOS   Fixed - 44telnet command not found on CentOS  RHEL  MacOS   Fixed - 33telnet command not found on CentOS  RHEL  MacOS   Fixed - 75telnet command not found on CentOS  RHEL  MacOS   Fixed - 15telnet command not found on CentOS  RHEL  MacOS   Fixed - 97telnet command not found on CentOS  RHEL  MacOS   Fixed - 90telnet command not found on CentOS  RHEL  MacOS   Fixed - 15telnet command not found on CentOS  RHEL  MacOS   Fixed - 29telnet command not found on CentOS  RHEL  MacOS   Fixed - 45telnet command not found on CentOS  RHEL  MacOS   Fixed - 87telnet command not found on CentOS  RHEL  MacOS   Fixed - 90telnet command not found on CentOS  RHEL  MacOS   Fixed - 83telnet command not found on CentOS  RHEL  MacOS   Fixed - 79telnet command not found on CentOS  RHEL  MacOS   Fixed - 26telnet command not found on CentOS  RHEL  MacOS   Fixed - 25telnet command not found on CentOS  RHEL  MacOS   Fixed - 89telnet command not found on CentOS  RHEL  MacOS   Fixed - 95