How To Install http-parser-devel on Rocky Linux 8

In this tutorial we learn how to install http-parser-devel on Rocky Linux 8. http-parser-devel is Development headers and libraries for http-parser

Introduction

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

What is http-parser-devel

Development headers and libraries for http-parser.

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

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

sudo dnf -y install http-parser-devel

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

sudo yum -y install http-parser-devel

How To Uninstall http-parser-devel on Rocky Linux 8

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

sudo dnf remove http-parser-devel

http-parser-devel Package Contents on Rocky Linux 8

/usr/include/http_parser.h
/usr/lib/libhttp_parser.so
/usr/lib/libhttp_parser_strict.so
/usr/include/http_parser.h
/usr/lib64/libhttp_parser.so
/usr/lib64/libhttp_parser_strict.so

References

Summary

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