# 使用 Homebrew, apt, pacman 安装 mighttpd2

查看 mighttpd2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mighttpd2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mighttpd2
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mighttpd2
```

  证据: Debian stable package indexes: mighttpd2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S mighttpd2
```

  证据: Arch Linux sync databases: mighttpd2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:mighttpd2
- **软件包管理器:** Homebrew
- **版本:** 4.0.10
- **来源摘要:** HTTP server
- **主页:** <https://kazu-yamamoto.github.io/mighttpd2/>
- **最后更新:** 2026-07-22T13:45:49Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mighty (别名)
- mighty-mkindex (别名)
- mightyctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.0.10
## 项目历史与用法

Mighttpd2, invoked as mighty, is Kazu Yamamoto's Haskell HTTP server. Its home page describes it as a simple but practical file and CGI web server written in Haskell, implemented as a WAI application on Warp. The project is packaged with helper executables such as mighty-mkindex and mightyctl, reflecting its focus on serving static files, prebuilt directory indexes, and CGI workloads rather than being a broad application framework.

### 项目历史

The project's technical identity is Haskell web-server experimentation made usable as a daemon: the home page lists static file serving, CGI GET and POST handling, redirection, language negotiation, reverse proxying, URL rewriting via HTTP redirects, and performance comparisons against nginx in a httperf ping-pong benchmark. Its documentation links to articles and slides about high-performance web servers, WAI/Warp, and the architecture of Mighttpd, tying the package to the Haskell networking ecosystem.

### 使用方式

In package-manager terms, mighttpd2 is a niche web server for users who want a Warp/WAI-based standalone server for static and CGI content. It is much narrower than nginx, Apache httpd, or Caddy, but useful as a small Haskell-native server and as an example of deploying Haskell's high-concurrency HTTP stack.

### 来源

- <https://formulae.brew.sh/formula/mighttpd2>
- <https://github.com/kazu-yamamoto/mighttpd2>
- <https://kazu-yamamoto.github.io/mighttpd2/>
- <https://www.mew.org/~kazu/material/2011-mighttpd.pdf>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Debian apt - mighttpd2 - 4.0.3-2: normalized package name match | Debian stable package indexes: mighttpd2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | classical web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/
- Ubuntu apt - mighttpd2 - 4.0.3-2: normalized package name match | Ubuntu 24.04 LTS package indexes: mighttpd2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | classical web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/
- pacman - mighttpd2 - 4.0.5-19: normalized package name match | Arch Linux sync databases: mighttpd2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | High performance web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/


## Combined YAML source

View the package source record on GitHub. [combined/mighttpd2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mighttpd2.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
