# 使用 Homebrew, apk, apt, Nix, zypper 安装 civetweb

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

## 安装

```sh
sudo av install brew:civetweb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install civetweb
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add civetweb
```

  证据: Alpine Linux edge package indexes: civetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install civetweb
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#civetweb
```

  证据: nixpkgs package indexes: pkgs/by-name/ci/civetweb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install civetweb
```

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

## 软件包事实

- **软件包键:** brew:civetweb
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/civetweb>
- **版本:** 1.16
- **来源摘要:** C/C++ embeddable web server with optional CGI, SSL and Lua support
- **主页:** <https://github.com/civetweb/civetweb>
- **仓库:** <https://github.com/civetweb/civetweb>
- **上游文档:** <https://civetweb.github.io/civetweb>
- **许可证:** MIT
- **源码归档:** <https://github.com/civetweb/civetweb/archive/refs/tags/v1.16.tar.gz>
- **最后更新:** 2026-06-30T05:12:28Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- civetweb (cli)
- civetweb (别名)

## 依赖

- openssl@3

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.16
- 管理器更新时间: 2026-06-30
- 本地数据: OK
- 上游仓库: https://github.com/civetweb/civetweb
- 检测到的最新版本: v1.16 (当前)
## 项目历史与用法

CivetWeb is a small MIT-licensed C/C++ embeddable web server that can also run as a standalone server. In package-manager terms it is the long-lived, permissively licensed Mongoose fork that gives C applications an HTTP, HTTPS, CGI, Lua, WebSocket, and WebDAV-capable server without pulling in a large framework.

### 项目历史

The official README says CivetWeb was forked from the last MIT-licensed version of Mongoose in August 2013, after Mongoose moved to a dual GPL/commercial license. Release notes for v1.0 describe the initial objective as preserving an MIT-licensed Mongoose-derived distribution and renaming the code and documentation to CivetWeb.

The project subsequently developed independently on GitHub, with release notes showing steady maintenance across API, TLS, Lua, WebSocket, HTTP/2 experiments, fuzzing, and platform-support work.

### 采用历史

CivetWeb is packaged across several Unix-style ecosystems in the batch input, including Homebrew, Alpine, Debian, Ubuntu, Nix, and openSUSE/zypper. Its official README also points end users to GitHub and SourceForge binaries and source releases, while directing contributions and issues to GitHub.

### 使用方式

Developers embed CivetWeb as a library to add web-server functionality to an existing C or C++ program, or run it as a standalone executable on Windows, Unix, Linux, and macOS. Its user manual documents command-line startup, optional configuration-file use, and many runtime options.

### 为什么软件包爱好者会关心

CivetWeb matters to package maintainers because it preserves the permissively licensed branch of a once-common embedded-web-server lineage. It is small enough to package as a command and library, broad enough to need TLS and scripting dependency decisions, and old enough that downstreams care about ABI, license, and security-update continuity.

### 时间线

- 2013: CivetWeb forked from the last MIT-licensed Mongoose version.
- 2014: GitHub release v1.6 published.
- 2021: Release notes show OpenSSL 3.0 and mbed TLS 3 work in v1.16.
- 2026: GitHub repository metadata shows continuing activity.

### Related projects

- Mongoose is the direct ancestor named by the CivetWeb README.
- The README describes CivetWeb as useful either as an embedded library or as a standalone web server, overlapping with other lightweight C HTTP server libraries.

### 来源

- <https://github.com/civetweb/civetweb/blob/master/README.md>
- <https://github.com/civetweb/civetweb/blob/master/RELEASE_NOTES.md>
- <https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md>


## 安全说明

没有找到 civetweb 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: CivetWeb.conf in the executable directory
- Windows: CivetWeb.conf in the executable directory
## 源数据库详情

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

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

- Debian apt - civetweb - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: civetweb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support | https://github.com/civetweb/civetweb/
- Debian apt - libcivetweb-dev - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libcivetweb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support (devel) | https://github.com/civetweb/civetweb/
- Debian apt - libcivetweb1 - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libcivetweb1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support (lib) | https://github.com/civetweb/civetweb/
- Nix - civetweb: normalized package name match | nixpkgs package indexes: pkgs/by-name/ci/civetweb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - civetweb - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: civetweb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support | https://github.com/civetweb/civetweb/
- Ubuntu apt - libcivetweb-dev - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcivetweb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support (devel) | https://github.com/civetweb/civetweb/
- Ubuntu apt - libcivetweb1 - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcivetweb1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support (lib) | https://github.com/civetweb/civetweb/
- apk - civetweb - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: civetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server | https://github.com/civetweb/civetweb
- apk - civetweb-dev - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: civetweb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (development files) | https://github.com/civetweb/civetweb
- apk - libcivetweb - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: libcivetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (C library) | https://github.com/civetweb/civetweb
- apk - libcivetweb-cpp - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: libcivetweb-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (C++ library) | https://github.com/civetweb/civetweb
- zypper - civetweb - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: civetweb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A C/C++ web server | https://github.com/civetweb/civetweb
- zypper - civetweb-devel - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: civetweb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Header files and development libraries for civetweb | https://github.com/civetweb/civetweb
- zypper - libcivetweb-cpp1_16_0 - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libcivetweb-cpp1_16_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Object for applications that use civetweb embedded | https://github.com/civetweb/civetweb
- zypper - libcivetweb1_16_0 - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libcivetweb1_16_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Object for applications that use civetweb embedded | https://github.com/civetweb/civetweb


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched web development metadata.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [root](https://www.automicvault.com/zh-hans/pkg/brew/root/) - Popular package that depends on this formula.
- [h2o](https://www.automicvault.com/zh-hans/pkg/brew/h2o/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server, support, web.
- [coturn](https://www.automicvault.com/zh-hans/pkg/brew/coturn/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server.
- [cups](https://www.automicvault.com/zh-hans/pkg/brew/cups/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server.

## Combined YAML source

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


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
