How To Install libnatpmp-devel on Rocky Linux 8

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

Introduction

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

What is libnatpmp-devel

This package contains libraries and header files for developing applications that use libnatpmp.

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

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

sudo dnf -y install libnatpmp-devel

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

sudo yum -y install libnatpmp-devel

How To Uninstall libnatpmp-devel on Rocky Linux 8

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

sudo dnf remove libnatpmp-devel

libnatpmp-devel Package Contents on Rocky Linux 8

/usr/include/natpmp.h
/usr/lib64/libnatpmp.so
/usr/share/doc/libnatpmp-devel
/usr/share/doc/libnatpmp-devel/Changelog.txt
/usr/share/doc/libnatpmp-devel/README

References

Summary

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