How To Install mtr-gtk on Rocky Linux 8

In this tutorial we learn how to install mtr-gtk on Rocky Linux 8. mtr-gtk is GTK+ interface for MTR

Introduction

In this tutorial we learn how to install mtr-gtk on Rocky Linux 8.

What is mtr-gtk

MTR combines the functionality of the ’traceroute’ and ‘ping’ programs in a single network diagnostic tool. The mtr-gtk package provides the GTK+ interface for MTR. When MTR is started, it investigates the network connection between the host MTR runs on and the user-specified destination host. Afterwards it determines the address of each network hop between the machines and sends a sequence of ICMP echo requests to each one to determine the quality of the link to each machine. While doing this, it prints running statistics about each machine.

We can use yum or dnf to install mtr-gtk on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mtr-gtk.

Install mtr-gtk on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mtr-gtk using dnf by running the following command:

sudo dnf -y install mtr-gtk

Install mtr-gtk on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mtr-gtk using yum by running the following command:

sudo yum -y install mtr-gtk

How To Uninstall mtr-gtk on Rocky Linux 8

To uninstall only the mtr-gtk package we can use the following command:

sudo dnf remove mtr-gtk

mtr-gtk Package Contents on Rocky Linux 8

/usr/bin/xmtr
/usr/bin/xmtr.bin
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/71ca3ccc830ba5701007c37b61b12c4df28258
/usr/share/applications/net-xmtr.desktop
/usr/share/pixmaps/mtr_icon.xpm
/usr/share/polkit-1/actions/org.fedoraproject.mtr.policy

References

Summary

In this tutorial we learn how to install mtr-gtk on Rocky Linux 8 using yum and dnf.