# fcgiwrap を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

fcgiwrap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fcgiwrap
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fcgiwrap
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fcgiwrap
```

  証拠: MacPorts ports tree: www/fcgiwrap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fcgiwrap
```

  証拠: Alpine Linux edge package indexes: fcgiwrap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install fcgiwrap
```

  証拠: Debian stable package indexes: fcgiwrap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fcgiwrap
```

  証拠: Fedora Rawhide package metadata: fcgiwrap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fcgiwrap
```

  証拠: nixpkgs package indexes: pkgs/by-name/fc/fcgiwrap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S fcgiwrap
```

  証拠: Arch Linux sync databases: fcgiwrap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fcgiwrap
```

  証拠: openSUSE Tumbleweed package metadata: fcgiwrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:fcgiwrap
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** CGI support for Nginx
- **ホームページ:** <https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/>
- **リポジトリ:** <https://github.com/gnosek/fcgiwrap>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fcgiwrap (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

fcgiwrap is a small FastCGI wrapper for running traditional CGI scripts. Its README describes it as lightweight, configuration-free, and intended to execute CGI scripts while passing request state through FastCGI parameters.

The tool is closely associated with Nginx deployments because Nginx does not execute CGI programs directly; fcgiwrap supplies the missing CGI execution layer while the web server talks FastCGI.

### プロジェクトの歴史

The public GitHub repository was created in 2008 by Grzegorz Nosek. The README presents fcgiwrap as a simple wrapper rather than a full application server: it links against the FastCGI development library, runs CGI scripts, and handles headers, environment variables, and stderr forwarding.

Over time the repository gained service-manager integration such as systemd socket activation files, reflecting the normal deployment style: a small persistent FastCGI endpoint supervised by the operating system or launched through a helper.

### 採用の歴史

fcgiwrap's adoption comes from a narrow but durable need: serving existing CGI scripts behind FastCGI-only web-server configurations. The input metadata lists packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, openSUSE, and others, which matches its role as infrastructure glue.

The README recommends launchers such as spawn-fcgi and also notes optional systemd support, showing the two common deployment eras for small FastCGI helper daemons.

### 使われ方

In direct mode, `SCRIPT_FILENAME` names the CGI program to execute. Otherwise, fcgiwrap combines `DOCUMENT_ROOT` and `SCRIPT_NAME`, then splits the result into the script path and `PATH_INFO`.

Operators usually run it as a long-lived process or socket-activated service, then configure a web server FastCGI location to pass CGI requests to the fcgiwrap socket.

### パッケージ好きにとっての重要性

fcgiwrap is the tiny package that keeps old CGI scripts deployable in newer web-server setups. It is not glamorous, but it is exactly the kind of bridge package that prevents legacy admin panels, hooks, and small scripts from forcing a web-server change.

Its package-manager value is that it externalizes CGI support: install one small daemon, point Nginx or another FastCGI-capable server at its socket, and avoid embedding CGI execution in the web server itself.

### タイムライン

- 2008: The public gnosek/fcgiwrap GitHub repository was created.
- 2008 onward: fcgiwrap was packaged as a lightweight CGI-over-FastCGI bridge for Unix-like systems.
- Later releases: The repository included systemd socket activation units for `/run/fcgiwrap.sock`.

### Related projects

- FastCGI/fcgi2 provides the protocol and library foundation.
- Nginx, spawn-fcgi, and systemd socket activation are common deployment companions.

### ソース

- <https://github.com/gnosek/fcgiwrap>
- <https://raw.githubusercontent.com/gnosek/fcgiwrap/master/README.rst>
- <https://raw.githubusercontent.com/gnosek/fcgiwrap/master/systemd/fcgiwrap.service>
- <https://raw.githubusercontent.com/gnosek/fcgiwrap/master/systemd/fcgiwrap.socket>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - fcgiwrap - 1.1.0-16: normalized package name match | Debian stable package indexes: fcgiwrap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple server to run CGI applications over FastCGI | https://github.com/gnosek/fcgiwrap
- Nix - fcgiwrap: normalized package name match | nixpkgs package indexes: pkgs/by-name/fc/fcgiwrap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fcgiwrap - 1.1.0-14build1: normalized package name match | Ubuntu 24.04 LTS package indexes: fcgiwrap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple server to run CGI applications over FastCGI | https://github.com/gnosek/fcgiwrap
- apk - fcgiwrap - 1.1.0-r9: normalized package name match | Alpine Linux edge package indexes: fcgiwrap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Simple server for running CGI applications over FastCGI | https://github.com/gnosek/fcgiwrap
- apk - fcgiwrap-doc - 1.1.0-r9: normalized package name match | Alpine Linux edge package indexes: fcgiwrap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Simple server for running CGI applications over FastCGI (documentation) | https://github.com/gnosek/fcgiwrap
- apk - fcgiwrap-openrc - 1.1.0-r9: normalized package name match | Alpine Linux edge package indexes: fcgiwrap-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Simple server for running CGI applications over FastCGI (OpenRC init scripts) | https://github.com/gnosek/fcgiwrap
- dnf - fcgiwrap - 1.1.0-28.20181108git99c942c.fc45: normalized package name match | Fedora Rawhide package metadata: fcgiwrap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Simple FastCGI wrapper for CGI scripts | https://github.com/gnosek/fcgiwrap
- pacman - fcgiwrap - 1.1.0-10: normalized package name match | Arch Linux sync databases: fcgiwrap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A simple server for running CGI applications over FastCGI. | https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/
- zypper - fcgiwrap - 1.1.0+18+g99c942c-3.25: normalized package name match | openSUSE Tumbleweed package metadata: fcgiwrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | FastCGI wrapper for CGI scripts | https://github.com/gnosek/fcgiwrap
- zypper - fcgiwrap-nginx - 1.1.0+18+g99c942c-3.25: normalized package name match | openSUSE Tumbleweed package metadata: fcgiwrap-nginx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | System services for using fcgiwrap with nginx | https://github.com/gnosek/fcgiwrap
- MacPorts - fcgiwrap: normalized package name match | MacPorts ports tree: www/fcgiwrap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/fcgiwrap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fcgiwrap.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
