How To Install httpd-devel on AlmaLinux 8

In this tutorial we learn how to install httpd-devel in AlmaLinux 8. httpd-devel is Development interfaces for the Apache HTTP server

Introduction

In this tutorial we learn how to install httpd-devel on AlmaLinux 8.

What is httpd-devel

The httpd-devel package contains the APXS binary and other files that you need to build Dynamic Shared Objects (DSOs) for the Apache HTTP Server. If you are installing the Apache HTTP server and you want to be able to compile or develop additional modules for Apache, you need to install this package.

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

Install httpd-devel on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install httpd-devel

Install httpd-devel on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install httpd-devel

How To Uninstall httpd-devel on AlmaLinux 8

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

sudo dnf remove httpd-devel

References

Summary

In this tutorial we learn how to install httpd-devel on AlmaLinux 8 using yum and dnf.