How To Install libmnl-devel on Rocky Linux 8

In this tutorial we learn how to install libmnl-devel on Rocky Linux 8. libmnl-devel is Development files for libmnl

Introduction

In this tutorial we learn how to install libmnl-devel on Rocky Linux 8.

What is libmnl-devel

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

We can use yum or dnf to install libmnl-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmnl-devel.

Install libmnl-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libmnl-devel using dnf by running the following command:

sudo dnf -y install libmnl-devel

Install libmnl-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libmnl-devel using yum by running the following command:

sudo yum -y install libmnl-devel

How To Uninstall libmnl-devel on Rocky Linux 8

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

sudo dnf remove libmnl-devel

libmnl-devel Package Contents on Rocky Linux 8

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

References

Summary

In this tutorial we learn how to install libmnl-devel on Rocky Linux 8 using yum and dnf.