# Install httpd with Homebrew, dnf, zypper, scoop

Apache HTTP server. Version 2.4.68 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:httpd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install httpd
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install httpd
```

  Evidence: Fedora Rawhide package metadata: httpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install apache2
```

  Evidence: openSUSE Tumbleweed package metadata: apache2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/ab
```

  Evidence: Scoop official bucket manifest trees: bucket/ab.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:httpd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/httpd>
- **Version:** 2.4.68
- **Source summary:** Apache HTTP server
- **Homepage:** <https://httpd.apache.org/>
- **Repository:** <https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x>
- **Upstream docs:** <https://httpd.apache.org/docs>
- **License:** Apache-2.0
- **Source archive:** <https://www.apache.org/dyn/closer.lua?path=httpd/httpd-2.4.68.tar.bz2>
- **Last updated:** 2026-06-22T14:03:44-07:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- ab (cli)
- apachectl (cli)
- apxs (cli)
- checkgid (cli)
- dbmmanage (cli)
- fcgistarter (cli)
- htcacheclean (cli)
- htdbm (cli)
- htdigest (cli)
- htpasswd (cli)
- httpd (cli)
- httxt2dbm (cli)
- logresolve (cli)
- rotatelogs (cli)
- suexec (cli)
- ab (alias)
- apachectl (alias)
- apxs (alias)
- checkgid (alias)
- dbmmanage (alias)
- fcgistarter (alias)
- htcacheclean (alias)
- htdbm (alias)
- htdigest (alias)
- htpasswd (alias)
- httpd (alias)
- httxt2dbm (alias)
- logresolve (alias)
- rotatelogs (alias)
- suexec (alias)

## Dependencies

- apr
- apr-util
- brotli
- libnghttp2
- openssl@3
- pcre2

## Uses from macOS

- libxcrypt
- libxml2

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: DocumentRoot is $HOMEBREW_PREFIX/var/www. The default ports have been set in $HOMEBREW_PREFIX/etc/httpd/httpd.conf to 8080 and in $HOMEBREW_PREFIX/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 2.4.68
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://httpd.apache.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Apache HTTP Server is one of the defining infrastructure packages of the Web: a general-purpose HTTP server descended from NCSA httpd, maintained by the Apache HTTP Server Project, and distributed with a large suite of command-line administration and support tools.

### Project history

The project began in February 1995 after development of Rob McCool's NCSA httpd had stalled. A small group of webmasters coordinated their accumulated bug fixes and enhancements, using NCSA httpd 1.3 as the base for the first public Apache server release, 0.6.2, in April 1995.

The early server was quickly reworked around Robert Thau's Shambhala architecture, which introduced a modular structure, an API for extensibility, pool-based memory allocation, and an adaptive preforking process model. Apache 1.0 followed on December 1, 1995, and in 1999 the Apache Software Foundation was formed to give the project organizational, legal, and financial support.

### Adoption history

Apache passed NCSA httpd as the top server in the Netcraft Web Server Survey in 1996, less than a year after the Apache Group formed. Its adoption story is closely tied to Unix and Linux packaging: the `httpd` package became both the server daemon and a bundle of operational tools used by administrators, module developers, and local web developers.

### How it is used

As a package, `httpd` is not only the web server binary. It also ships familiar tools such as `apachectl`, `apxs`, `htpasswd`, `htdigest`, `rotatelogs`, and `ab`, making the package useful for running a local server, testing configuration, building modules, managing password files, rotating logs, and benchmarking request throughput.

### Why package nerds care

Package maintainers care about Apache HTTP Server because it sits at the intersection of daemon management, module ABI compatibility, TLS libraries, configuration layout, and service integration. It is also historically important as a package that helped make source-built and distribution-packaged open-source infrastructure normal for production web hosting.

### Timeline

- 1995: Apache development started around patches to NCSA httpd.
- 1995: Apache 0.6.2 was released in April.
- 1995: Apache 1.0 was released on December 1.
- 1996: Apache passed NCSA httpd in the Netcraft Web Server Survey.
- 1999: The Apache Software Foundation was formed.
- 2012: The 2.4.x branch began its GA release history with 2.4.1 on February 21.

### Related projects

- Apache HTTP Server grew out of NCSA httpd and is closely associated with APR, mod_ssl, mod_perl, Tomcat, Traffic Server, and the bundled `ab` benchmarking tool.

### Sources

- <https://httpd.apache.org/ABOUT_APACHE.html>
- <https://httpd.apache.org/docs/2.4/programs/ab.html>
- <https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/STATUS>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** httpd
- **Aliases:** apache-httpd, apache2
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- dnf - httpd - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Apache HTTP Server | https://httpd.apache.org/
- dnf - httpd-core - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | httpd minimal core | https://httpd.apache.org/
- dnf - httpd-devel - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development interfaces for the Apache HTTP Server | https://httpd.apache.org/
- dnf - httpd-filesystem - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The basic directory layout for the Apache HTTP Server | https://httpd.apache.org/
- dnf - httpd-manual - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd-manual from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for the Apache HTTP Server | https://httpd.apache.org/
- dnf - httpd-tools - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: httpd-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for use with the Apache HTTP Server | https://httpd.apache.org/
- dnf - mod_ldap - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: mod_ldap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | LDAP authentication modules for the Apache HTTP Server | https://httpd.apache.org/
- dnf - mod_lua - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: mod_lua from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Lua scripting support for the Apache HTTP Server | https://httpd.apache.org/
- dnf - mod_proxy_html - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: mod_proxy_html from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | HTML and XML content filters for the Apache HTTP Server | https://httpd.apache.org/
- dnf - mod_session - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: mod_session from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Session interface for the Apache HTTP Server | https://httpd.apache.org/
- dnf - mod_ssl - 2.4.68-1.fc45: normalized package name match | Fedora Rawhide package metadata: mod_ssl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | SSL/TLS module for the Apache HTTP Server | https://httpd.apache.org/
- zypper - apache2 - 2.4.67-1.1: normalized package name match | openSUSE Tumbleweed package metadata: apache2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The Apache HTTPD Server | https://httpd.apache.org/
- zypper - darkhttpd - 1.17-1.3: normalized package name match | openSUSE Tumbleweed package metadata: darkhttpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | When you need a web server in a hurry | https://unix4lyfe.org/darkhttpd
- zypper - lighttpd - 1.4.82-1.4: normalized package name match | openSUSE Tumbleweed package metadata: lighttpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Secure, Fast, Compliant, and Very Flexible Web Server | https://www.lighttpd.net/
- zypper - nginx - 1.31.1-2.1: normalized package name match | openSUSE Tumbleweed package metadata: nginx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A HTTP server and IMAP/POP3 proxy server | https://github.com/nginx/nginx
- Scoop - main/ab: installed executable or alias match | Scoop official bucket manifest trees: bucket/ab.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [apr](https://www.automicvault.com/pkg/brew/apr/) - Runtime dependency declared by Homebrew.
- [apr-util](https://www.automicvault.com/pkg/brew/apr-util/) - Runtime dependency declared by Homebrew.
- [brotli](https://www.automicvault.com/pkg/brew/brotli/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [shibboleth-sp](https://www.automicvault.com/pkg/brew/shibboleth-sp/) - Popular package that depends on this formula.
- [ferron](https://www.automicvault.com/pkg/brew/ferron/) - Shares av.db curated category or tags: cli, http, networking, tls, web-server.
- [yaws](https://www.automicvault.com/pkg/brew/yaws/) - Shares av.db curated category or tags: cli, http, networking, server, web-server.
- [caddy](https://www.automicvault.com/pkg/brew/caddy/) - Shares av.db curated category or tags: cli, networking, tls, web-server.
- [h2o](https://www.automicvault.com/pkg/brew/h2o/) - Shares av.db curated category or tags: cli, http, networking, web-server.
- [nginx](https://www.automicvault.com/pkg/brew/nginx/) - Shares av.db curated category or tags: cli, http, networking, web-server.
- [static-web-server](https://www.automicvault.com/pkg/brew/static-web-server/) - Shares av.db curated category or tags: cli, http, networking, web-server.
- [algernon](https://www.automicvault.com/pkg/brew/algernon/) - Shares av.db curated category or tags: cli, networking, web-server.
- [fcgi](https://www.automicvault.com/pkg/brew/fcgi/) - Shares av.db curated category or tags: cli, networking, web-server.
- [lighttpd](https://www.automicvault.com/pkg/brew/lighttpd/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, http, networking, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/httpd.yml](https://github.com/automic-vault/db/blob/main/combined/httpd.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
