How To Install libdnet-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libdnet-devel.x86_64 in Amazon Linux 2. libdnet-devel.x86_64 is Header files for libdnet library

Introduction

In this tutorial we learn how to install libdnet-devel.x86_64 on Amazon Linux 2.

What is libdnet-devel.x86_64

Header files for libdnet library.

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

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

sudo yum -y install libdnet-devel.x86_64

How To Uninstall libdnet-devel.x86_64 on Amazon Linux 2

To uninstall only the libdnet-devel.x86_64 package we can use the following command:

sudo yum remove libdnet-devel.x86_64

libdnet-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dnet-config
/usr/include/dnet
/usr/include/dnet.h
/usr/include/dnet/addr.h
/usr/include/dnet/arp.h
/usr/include/dnet/blob.h
/usr/include/dnet/eth.h
/usr/include/dnet/fw.h
/usr/include/dnet/icmp.h
/usr/include/dnet/intf.h
/usr/include/dnet/ip.h
/usr/include/dnet/ip6.h
/usr/include/dnet/os.h
/usr/include/dnet/rand.h
/usr/include/dnet/route.h
/usr/include/dnet/tcp.h
/usr/include/dnet/tun.h
/usr/include/dnet/udp.h
/usr/lib64/libdnet.so
/usr/share/man/man3/dnet.3.gz

References

Summary

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