How To Install iputils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install iputils.x86_64 in Amazon Linux 2. iputils.x86_64 is Network monitoring tools including ping

Introduction

In this tutorial we learn how to install iputils.x86_64 on Amazon Linux 2.

What is iputils.x86_64

The iputils package contains basic utilities for monitoring a network, including ping. The ping command sends a series of ICMP protocol ECHO_REQUEST packets to a specified network host to discover whether the target machine is alive and receiving network traffic.

We can use yum to install iputils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install iputils.x86_64.

Install iputils.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 iputils.x86_64 using yum by running the following command:

sudo yum -y install iputils.x86_64

How To Uninstall iputils.x86_64 on Amazon Linux 2

To uninstall only the iputils.x86_64 package we can use the following command:

sudo yum remove iputils.x86_64

iputils.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/rdisc
/usr/bin/ping
/usr/bin/ping6
/usr/bin/tracepath
/usr/bin/tracepath6
/usr/lib/systemd/system/rdisc.service
/usr/sbin/arping
/usr/sbin/clockdiff
/usr/sbin/ifenslave
/usr/sbin/ping6
/usr/sbin/rdisc
/usr/sbin/tracepath
/usr/sbin/tracepath6
/usr/share/doc/iputils-20160308
/usr/share/doc/iputils-20160308/README.bonding
/usr/share/doc/iputils-20160308/RELNOTES
/usr/share/man/man8/arping.8.gz
/usr/share/man/man8/clockdiff.8.gz
/usr/share/man/man8/ifenslave.8.gz
/usr/share/man/man8/ping.8.gz
/usr/share/man/man8/ping6.8.gz
/usr/share/man/man8/rdisc.8.gz
/usr/share/man/man8/tracepath.8.gz
/usr/share/man/man8/tracepath6.8.gz

References

Summary

In this tutorial we learn how to install iputils.x86_64 on Amazon Linux 2 using yum.