Ways to Install or Uninstall telnetd on Ubuntu 22.04

Updated: September 22, 2022

The in.telnetd program is a server which supports the DARPA telnet interactive communication protocol. I will show you how to install telnetd on Ubuntu 22.04 in this guide.

Requirements to install

  • Operating system: Ubuntu 22.04 is needed for telnetd to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install telnetd on Ubuntu 22.04

Install telnetd Ubuntu 22.04

telnetd is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install telnetd using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install telnetd on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install telnetd Ubuntu by executing this command in the terminal.

sudo apt-get install telnetd

Install telnetd using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

After that, you can now install telnetd by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install telnetd Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install telnetd

Uninstall telnetd on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a telnetd, can be easily uninstalled by anyone.

If you installed telnetd using APT or Aptitude, you could uninstall telnetd on Ubuntu by executing this command

sudo apt remove --auto-remove telnetd

To uninstall telnetd and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge telnetd

Ending

In this guide, I showed you ways to install telnetd on Ubuntu 22.04 and some ways to uninstall telnetd too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.