How to Uninstall or Install mtr-tiny on Ubuntu 22.04

Updated: October 21, 2022

mtr combines the functionality of the ‘traceroute’ and ‘ping’ programs in a single network diagnostic tool. In this tutorial, I will show you how to install mtr-tiny on Ubuntu 22.04.

Requirements

  • OS: mtr-tiny needs Ubuntu 22.04 to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install mtr-tiny on Ubuntu 22.04

Install mtr-tiny Ubuntu 22.04

mtr-tiny is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install mtr-tiny using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install mtr-tiny on your Ubuntu.

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

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install mtr-tiny Ubuntu by executing this command in the terminal.

sudo apt install mtr-tiny

Install mtr-tiny using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt -y install aptitude

Then, you can now install mtr-tiny 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 fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install mtr-tiny Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install mtr-tiny

Uninstall mtr-tiny on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a mtr-tiny.

You can uninstall mtr-tiny Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove mtr-tiny

You can also execute this command if you want to uninstall mtr-tiny and remove its data and dependencies:

sudo apt autoremove --purge mtr-tiny

Conclusion

In this guide, I showed you ways to install mtr-tiny on Ubuntu 22.04 and some ways to uninstall mtr-tiny too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.