How To Install httpd-devel on CentOS 7
Introduction
In this tutorial we learn how to install httpd-devel
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install httpd-devel.
Install httpd-devel on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install httpd-devel
using yum
by running the following command:
Install httpd-devel on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install httpd-devel
using dnf
by running the following command:
How To Uninstall httpd-devel on CentOS 7
To uninstall only the httpd-devel
package we can use the following command:
References
Summary
In this tutorial we learn how to install httpd-devel
on CentOS 7 using yum
and dnf
.