How To Install httpd-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install httpd-devel.x86_64 in Amazon Linux 2. httpd-devel.x86_64 is Development interfaces for the Apache HTTP Server

Introduction

In this tutorial we learn how to install httpd-devel.x86_64 on Amazon Linux 2.

What is httpd-devel.x86_64

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 to install httpd-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install httpd-devel.x86_64.

Install httpd-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install httpd-devel.x86_64

How To Uninstall httpd-devel.x86_64 on Amazon Linux 2

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

sudo yum remove httpd-devel.x86_64

httpd-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/apxs
/usr/include/httpd
/usr/include/httpd/.mmn
/usr/include/httpd/ap_compat.h
/usr/include/httpd/ap_config.h
/usr/include/httpd/ap_config_auto.h
/usr/include/httpd/ap_config_layout.h
/usr/include/httpd/ap_expr.h
/usr/include/httpd/ap_hooks.h
/usr/include/httpd/ap_listen.h
/usr/include/httpd/ap_mmn.h
/usr/include/httpd/ap_mpm.h
/usr/include/httpd/ap_provider.h
/usr/include/httpd/ap_regex.h
/usr/include/httpd/ap_regkey.h
/usr/include/httpd/ap_release.h
/usr/include/httpd/ap_slotmem.h
/usr/include/httpd/ap_socache.h
/usr/include/httpd/apache_noprobes.h
/usr/include/httpd/cache_common.h
/usr/include/httpd/heartbeat.h
/usr/include/httpd/http_config.h
/usr/include/httpd/http_connection.h
/usr/include/httpd/http_core.h
/usr/include/httpd/http_log.h
/usr/include/httpd/http_main.h
/usr/include/httpd/http_protocol.h
/usr/include/httpd/http_request.h
/usr/include/httpd/http_ssl.h
/usr/include/httpd/http_vhost.h
/usr/include/httpd/httpd.h
/usr/include/httpd/mod_auth.h
/usr/include/httpd/mod_cache.h
/usr/include/httpd/mod_cgi.h
/usr/include/httpd/mod_core.h
/usr/include/httpd/mod_dav.h
/usr/include/httpd/mod_dbd.h
/usr/include/httpd/mod_include.h
/usr/include/httpd/mod_log_config.h
/usr/include/httpd/mod_proxy.h
/usr/include/httpd/mod_request.h
/usr/include/httpd/mod_rewrite.h
/usr/include/httpd/mod_session.h
/usr/include/httpd/mod_so.h
/usr/include/httpd/mod_ssl.h
/usr/include/httpd/mod_ssl_openssl.h
/usr/include/httpd/mod_status.h
/usr/include/httpd/mod_unixd.h
/usr/include/httpd/mod_watchdog.h
/usr/include/httpd/mod_xml2enc.h
/usr/include/httpd/mpm_common.h
/usr/include/httpd/os.h
/usr/include/httpd/scoreboard.h
/usr/include/httpd/unixd.h
/usr/include/httpd/util_cfgtree.h
/usr/include/httpd/util_charset.h
/usr/include/httpd/util_cookies.h
/usr/include/httpd/util_ebcdic.h
/usr/include/httpd/util_fcgi.h
/usr/include/httpd/util_filter.h
/usr/include/httpd/util_ldap.h
/usr/include/httpd/util_md5.h
/usr/include/httpd/util_mutex.h
/usr/include/httpd/util_script.h
/usr/include/httpd/util_time.h
/usr/include/httpd/util_varbuf.h
/usr/include/httpd/util_xml.h
/usr/lib/rpm/macros.d/macros.httpd
/usr/lib64/httpd/build
/usr/lib64/httpd/build/config_vars.mk
/usr/lib64/httpd/build/instdso.sh
/usr/lib64/httpd/build/library.mk
/usr/lib64/httpd/build/ltlib.mk
/usr/lib64/httpd/build/mkdir.sh
/usr/lib64/httpd/build/program.mk
/usr/lib64/httpd/build/rules.mk
/usr/lib64/httpd/build/special.mk
/usr/share/man/man1/apxs.1.gz

References

Summary

In this tutorial we learn how to install httpd-devel.x86_64 on Amazon Linux 2 using yum.