How To Install libnftnl-devel on Rocky Linux 8

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

Introduction

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

What is libnftnl-devel

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

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

Install libnftnl-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 libnftnl-devel using dnf by running the following command:

sudo dnf -y install libnftnl-devel

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

sudo yum -y install libnftnl-devel

How To Uninstall libnftnl-devel on Rocky Linux 8

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

sudo dnf remove libnftnl-devel

libnftnl-devel Package Contents on Rocky Linux 8

/usr/include/libnftnl
/usr/include/libnftnl/batch.h
/usr/include/libnftnl/chain.h
/usr/include/libnftnl/common.h
/usr/include/libnftnl/expr.h
/usr/include/libnftnl/flowtable.h
/usr/include/libnftnl/gen.h
/usr/include/libnftnl/object.h
/usr/include/libnftnl/rule.h
/usr/include/libnftnl/ruleset.h
/usr/include/libnftnl/set.h
/usr/include/libnftnl/table.h
/usr/include/libnftnl/trace.h
/usr/include/libnftnl/udata.h
/usr/lib/libnftnl.so
/usr/lib/pkgconfig/libnftnl.pc
/usr/include/libnftnl
/usr/include/libnftnl/batch.h
/usr/include/libnftnl/chain.h
/usr/include/libnftnl/common.h
/usr/include/libnftnl/expr.h
/usr/include/libnftnl/flowtable.h
/usr/include/libnftnl/gen.h
/usr/include/libnftnl/object.h
/usr/include/libnftnl/rule.h
/usr/include/libnftnl/ruleset.h
/usr/include/libnftnl/set.h
/usr/include/libnftnl/table.h
/usr/include/libnftnl/trace.h
/usr/include/libnftnl/udata.h
/usr/lib64/libnftnl.so
/usr/lib64/pkgconfig/libnftnl.pc

References

Summary

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