How To Install libdnet.i686 on Amazon Linux 2

In this tutorial we learn how to install libdnet.i686 in Amazon Linux 2. libdnet.i686 is Simple portable interface to lowlevel networking routines

Introduction

In this tutorial we learn how to install libdnet.i686 on Amazon Linux 2.

What is libdnet.i686

libdnet provides a simplified, portable interface to several low-level networking routines, including network address manipulation, kernel arp(4) cache and route(4) table lookup and manipulation, network firewalling (IP filter, ipfw, ipchains, pf, …), network interface lookup and manipulation, raw IP packet and Ethernet frame, and data transmission.

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

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

sudo yum -y install libdnet.i686

How To Uninstall libdnet.i686 on Amazon Linux 2

To uninstall only the libdnet.i686 package we can use the following command:

sudo yum remove libdnet.i686

libdnet.i686 Package Contents on Amazon Linux 2

/usr/lib/libdnet.so.1
/usr/lib/libdnet.so.1.0.1
/usr/share/doc/libdnet-1.12
/usr/share/doc/libdnet-1.12/LICENSE
/usr/share/doc/libdnet-1.12/README
/usr/share/doc/libdnet-1.12/THANKS
/usr/share/doc/libdnet-1.12/TODO

References

Summary

In this tutorial we learn how to install libdnet.i686 on Amazon Linux 2 using yum.