# 使用 Homebrew, Nix, pacman, apt, zypper, winget 安装 ulfius

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

## 安装

```sh
sudo av install brew:ulfius
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ulfius
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ulfius
```

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

- pacman (92%):

```sh
sudo pacman -S ulfius
```

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

- Debian apt (92%):

```sh
sudo apt install libulfius-dev
```

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

- zypper (92%):

```sh
sudo zypper install libulfius2_7
```

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

### Windows

- winget (92%):

```sh
winget install --id stuncloud.uwscr -e
```

  证据: Windows Package Manager source index: stuncloud.uwscr from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:ulfius
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ulfius>
- **版本:** 2.7.15
- **来源摘要:** HTTP Framework for REST Applications in C
- **主页:** <https://babelouest.github.io/ulfius/>
- **仓库:** <https://github.com/babelouest/ulfius>
- **上游文档:** <https://babelouest.github.io/ulfius/>
- **许可证:** LGPL-2.1-only
- **源码归档:** <https://github.com/babelouest/ulfius/archive/refs/tags/v2.7.15.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- uwsc (cli)
- uwsc (别名)

## 依赖

- gnutls
- jansson
- libmicrohttpd
- orcania
- yder

## 构建依赖

- cmake

## macOS 提供的库

- curl

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.7.15
- 本地数据: OK
- 上游仓库: https://github.com/babelouest/ulfius
- 检测到的最新版本: v2.7.15 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Ulfius is a C HTTP framework for building REST applications, web services, client requests, and websocket clients or servers with a small-memory-footprint design.

### 项目历史

The upstream README describes Ulfius as a REST-oriented HTTP framework in C, based on GNU libmicrohttpd for the backend web server, Jansson for JSON manipulation, and libcurl for HTTP and SMTP client APIs.

Official release metadata shows a stable 1.0 release in August 2016, a 2.0.0 release in May 2017, and continued 2.7.x releases through v2.7.15 in November 2023. The API documentation includes versioned sections describing changes from Ulfius 2.0 through 2.7.

The installation documentation treats Ulfius as part of the Babelouest C library stack with Orcania and Yder, and documents both Makefile and CMake builds, optional dependencies, static archives, embedded-system flags, and the uwsc websocket CLI.

### 采用历史

Ulfius adoption is visible in the official README's list of projects using the framework, including Glewlwyd, Le Biniou, Angharad, Hutch, Taliesin, and Taulas Raspberry Pi Serial interface. Those examples cluster around small services, authentication, media, home automation, and embedded or appliance-like applications.

The supplied package data records Ulfius in Homebrew, Nix, Arch/pacman, Debian, Ubuntu, openSUSE, and winget-related packaging for uwsc. The official INSTALL file also states that Ulfius is available as distribution packages and gives Debian examples for libulfius-dev and uwsc.

### 使用方式

C developers use Ulfius by linking libulfius and registering HTTP endpoints with callbacks. The README's hello-world example initializes an instance, adds a GET endpoint, starts the framework, then stops and cleans the instance.

The framework covers server-side web services, streaming, websockets, client HTTP and SMTP requests, client websockets, JSON request and response handling, cookies, file upload, and memory-management hooks. The uwsc tool provides a packaged command-line websocket client built from the same project.

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

Ulfius is significant to package-manager users because it packages a C-native web framework rather than another scripting-language web stack. That matters for embedded systems, small daemons, and projects that want REST or websocket APIs without leaving a C deployment model.

For maintainers, Ulfius also shows the usual C-library packaging concerns: optional features change dependencies, pkg-config and CMake metadata matter, shared and static builds are both documented, and the small uwsc executable gives users a visible CLI alongside the library.

### 时间线

- 2016: Stable 1.0 release published.
- 2017: Stable 2.0.0 release published.
- 2021: 2.7.x release series active.
- 2023: v2.7.15 release published.
- 2026: Official documentation site still presented Ulfius API documentation for REST applications in C.

### Related projects

- The README names GNU libmicrohttpd, Jansson, and libcurl as core libraries used by Ulfius.
- The INSTALL file documents Orcania and Yder as companion Babelouest libraries in the manual Makefile install path.
- The README lists Glewlwyd, Angharad, Hutch, Taliesin, and other Babelouest-adjacent applications as projects using Ulfius.

### 来源

- <https://api.github.com/repos/babelouest/ulfius/releases?per_page=100>
- <https://babelouest.github.io/ulfius/>
- <https://github.com/babelouest/ulfius>
- <https://raw.githubusercontent.com/babelouest/ulfius/master/INSTALL.md>
- <https://raw.githubusercontent.com/babelouest/ulfius/master/README.md>
- source_facts.executables
- source_facts.package-manager


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ulfius
- **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

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

- Debian apt - libulfius-dev - 2.7.15-2.2+b2: normalized package name match | Debian stable package indexes: libulfius-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Web Framework for REST Applications in C - development | https://github.com/babelouest/ulfius
- Debian apt - libulfius2.7t64 - 2.7.15-2.2+b2: normalized package name match | Debian stable package indexes: libulfius2.7t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Web Framework for REST Applications in C | https://github.com/babelouest/ulfius
- Debian apt - uwsc - 2.7.15-2.2+b2: normalized package name match | Debian stable package indexes: uwsc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ulfius WebSocket Client | https://github.com/babelouest/ulfius
- Nix - ulfius: normalized package name match | nixpkgs package indexes: pkgs/by-name/ul/ulfius/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libulfius-dev - 2.7.15-2.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libulfius-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Web Framework for REST Applications in C - development | https://github.com/babelouest/ulfius
- Ubuntu apt - libulfius2.7t64 - 2.7.15-2.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libulfius2.7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Web Framework for REST Applications in C | https://github.com/babelouest/ulfius
- Ubuntu apt - uwsc - 2.7.15-2.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: uwsc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ulfius WebSocket Client | https://github.com/babelouest/ulfius
- pacman - ulfius - 2.7.15-2: normalized package name match | Arch Linux sync databases: ulfius from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | HTTP Framework for REST Applications in C | https://github.com/babelouest/ulfius
- zypper - libulfius2_7 - 2.7.15-1.7: normalized package name match | openSUSE Tumbleweed package metadata: libulfius2_7 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Web Framework for REST Applications in C | https://github.com/babelouest/ulfius
- zypper - ulfius-devel - 2.7.15-1.7: normalized package name match | openSUSE Tumbleweed package metadata: ulfius-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Header files for ulfius | https://github.com/babelouest/ulfius
- zypper - uwsc - 2.7.15-1.7: normalized package name match | openSUSE Tumbleweed package metadata: uwsc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Ulfius WebSocket Client | https://github.com/babelouest/ulfius
- winget - stuncloud.uwscr: installed executable or alias match | Windows Package Manager source index: stuncloud.uwscr from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [orcania](https://pkg.so/zh-hans/brew/orcania/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [libdeflate](https://pkg.so/zh-hans/brew/libdeflate/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [libdatrie](https://pkg.so/zh-hans/brew/libdatrie/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [nspr](https://pkg.so/zh-hans/brew/nspr/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [apr](https://pkg.so/zh-hans/brew/apr/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [md4c](https://pkg.so/zh-hans/brew/md4c/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [gflags](https://pkg.so/zh-hans/brew/gflags/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [json-glib](https://pkg.so/zh-hans/brew/json-glib/) - Shares pkgdb curated category or tags: c, cli, developer-tools, library.
- [kore](https://pkg.so/zh-hans/brew/kore/) - Local package facts share a topical domain. Shared terms: c, cli, developer, developer-tools, framework.
- [drogon](https://pkg.so/zh-hans/brew/drogon/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, framework, http.

## Combined YAML source

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


## 来源

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