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

In this tutorial we learn how to install libmnl-devel.x86_64 in Amazon Linux 2. libmnl-devel.x86_64 is Development files for libmnl

Introduction

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

What is libmnl-devel.x86_64

The libmnl-devel package contains libraries and header files for developing applications that use libmnl.

We can use yum to install libmnl-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 libmnl-devel.x86_64.

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

sudo yum -y install libmnl-devel.x86_64

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

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

sudo yum remove libmnl-devel.x86_64

libmnl-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libmnl
/usr/include/libmnl/libmnl.h
/usr/lib64/libmnl.so
/usr/lib64/pkgconfig/libmnl.pc
/usr/share/doc/libmnl-devel-1.0.3
/usr/share/doc/libmnl-devel-1.0.3/COPYING
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/Makefile
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/genl
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/genl/Makefile
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/genl/genl-family-get.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter/Makefile
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter/nf-log.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter/nf-queue.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter/nfct-create-batch.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/netfilter/nfct-event.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/Makefile
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-link-dump.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-link-dump2.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-link-dump3.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-link-event.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-link-set.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-route-add.c
/usr/share/doc/libmnl-devel-1.0.3/examples-x86_64/rtnl/rtnl-route-dump.c

References

Summary

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