How To Install libmicrohttpd-devel on Rocky Linux 8

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

Introduction

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

What is libmicrohttpd-devel

Development files for libmicrohttpd

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

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

sudo dnf -y install libmicrohttpd-devel

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

sudo yum -y install libmicrohttpd-devel

How To Uninstall libmicrohttpd-devel on Rocky Linux 8

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

sudo dnf remove libmicrohttpd-devel

libmicrohttpd-devel Package Contents on Rocky Linux 8

/usr/include/microhttpd.h
/usr/lib/libmicrohttpd.so
/usr/lib/pkgconfig/libmicrohttpd.pc
/usr/include/microhttpd.h
/usr/lib64/libmicrohttpd.so
/usr/lib64/pkgconfig/libmicrohttpd.pc

References

Summary

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