How To Install mtr.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mtr.x86_64
on Amazon Linux 2.
What is mtr.x86_64
MTR combines the functionality of the ’traceroute’ and ‘ping’ programs in a single network diagnostic tool. 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. MTR provides two user interfaces the command line, e.g. for SSH sessions; and a GTK+ interface for X (provided in the mtr-gtk package).
We can use yum
to install mtr.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mtr.x86_64.
Install mtr.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mtr.x86_64
using yum
by running the following command:
sudo yum -y install mtr.x86_64
How To Uninstall mtr.x86_64 on Amazon Linux 2
To uninstall only the mtr.x86_64
package we can use the following command:
sudo yum remove mtr.x86_64
mtr.x86_64 Package Contents on Amazon Linux 2
/usr/sbin/mtr
/usr/sbin/mtr-packet
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/mtr
/usr/share/doc/mtr-0.92
/usr/share/doc/mtr-0.92/AUTHORS
/usr/share/doc/mtr-0.92/FORMATS
/usr/share/doc/mtr-0.92/NEWS
/usr/share/doc/mtr-0.92/README
/usr/share/doc/mtr-0.92/SECURITY
/usr/share/licenses/mtr-0.92
/usr/share/licenses/mtr-0.92/COPYING
/usr/share/man/man8/mtr-packet.8.gz
/usr/share/man/man8/mtr.8.gz
References
Summary
In this tutorial we learn how to install mtr.x86_64
on Amazon Linux 2 using yum.