How To Install ethtool.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ethtool.x86_64 in Amazon Linux 2. ethtool.x86_64 is Settings tool for Ethernet NICs

Introduction

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

What is ethtool.x86_64

This utility allows querying and changing settings such as speed, port, auto-negotiation, PCI locations and checksum offload on many network devices, especially of Ethernet devices.

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

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

sudo yum -y install ethtool.x86_64

How To Uninstall ethtool.x86_64 on Amazon Linux 2

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

sudo yum remove ethtool.x86_64

ethtool.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/ethtool
/usr/share/doc/ethtool-4.8
/usr/share/doc/ethtool-4.8/AUTHORS
/usr/share/doc/ethtool-4.8/COPYING
/usr/share/doc/ethtool-4.8/ChangeLog
/usr/share/doc/ethtool-4.8/LICENSE
/usr/share/doc/ethtool-4.8/NEWS
/usr/share/doc/ethtool-4.8/README
/usr/share/man/man8/ethtool.8.gz

References

Summary

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