# libucl を Homebrew, apk, dnf, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:libucl
```

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

### macOS

- Homebrew (100%):

```sh
brew install libucl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libucl
```

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

### Linux

- apk (92%):

```sh
sudo apk add libucl
```

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

- dnf (92%):

```sh
sudo dnf install libucl
```

  証拠: Fedora Rawhide package metadata: libucl 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#libucl
```

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

## パッケージ情報

- **パッケージキー:** brew:libucl
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9.4
- **ソース概要:** Universal configuration library parser
- **ホームページ:** <https://github.com/vstakhov/libucl>
- **リポジトリ:** <https://github.com/vstakhov/libucl>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ucl_chargen (エイリアス)
- ucl_objdump (エイリアス)
- ucl_tool (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

libucl is Vsevolod Stakhov's C library for Universal Configuration Language, a configuration syntax designed to be easier for humans to edit than strict JSON while remaining machine-readable and JSON-compatible.

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

The libucl README describes UCL as a configuration language heavily influenced by nginx-style configuration while remaining compatible with JSON. The library parses UCL and can also operate with JSON, MessagePack, S-expressions, and limited YAML output.

Public tags show early 0.2.x releases in December 2013 and 0.7.x by February 2015. After a long 0.8-era gap, GitHub releases show renewed release activity in 2023 and a 0.9 series beginning in February 2024.

### 採用の歴史

UCL found its strongest adoption in systems and infrastructure software where maintainers wanted structured configuration without strict JSON's editing friction. Rspamd documents UCL as its configuration language, and the FreeBSD Handbook notes that some applications such as pkg(8) started using UCL.

The library's package presence across Unix-like package managers reflects that adoption pattern: it is a small C parser and utility package that other software can embed or link for configuration parsing.

### 使われ方

Developers use libucl to parse configuration files with comments, unquoted keys, optional separators, implicit arrays, variables, macros, includes, human-friendly numeric suffixes, and validation. The README cautions that full-featured parsing with macros, includes, file I/O, and URL includes is intended for trusted administrator-controlled configuration rather than hostile input.

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

libucl is package-nerd interesting because it sits at the crossroads of config-language taste, Unix administration, FreeBSD tooling, and embeddable C libraries. It is a pragmatic alternative to forcing strict JSON into files humans edit by hand.

### タイムライン

- 2013: Public tag 0.2.0 was created in December 2013.
- 2014: FreeBSD's ports tree added textproc/libucl in November 2014.
- 2015: Public tag 0.7.2 was created in February 2015.
- 2023: GitHub releases page lists libucl 0.8.2 on January 8, 2023.
- 2024: GitHub releases page lists libucl 0.9.0 on February 1, 2024.

### Related projects

- Rspamd is a major user and documentation source for the UCL syntax.
- FreeBSD pkg(8) is cited by the FreeBSD Handbook as an application family using UCL.
- JSON, YAML, MessagePack, and nginx-style configuration are adjacent formats or influences named by the project documentation.

### ソース

- <https://docs.freebsd.org/en/books/handbook/config/>
- <https://docs.rspamd.com/configuration/ucl/>
- <https://github.com/vstakhov/libucl>
- <https://github.com/vstakhov/libucl/releases>
- <https://www.freshports.org/textproc/libucl>


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Nix - libucl: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libucl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libucl - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: libucl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Universal configuration library parser | https://github.com/vstakhov/libucl
- apk - libucl-dev - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: libucl-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Universal configuration library parser (development files) | https://github.com/vstakhov/libucl
- apk - libucl-doc - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: libucl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Universal configuration library parser (documentation) | https://github.com/vstakhov/libucl
- dnf - libucl - 0.8.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: libucl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Universal configuration library parser | https://github.com/vstakhov/libucl
- dnf - libucl-devel - 0.8.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: libucl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | libucl development files | https://github.com/vstakhov/libucl
- dnf - python3-libucl - 0.8.2-15.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libucl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python bindings for libucl | https://github.com/vstakhov/libucl
- MacPorts - libucl: normalized package name match | MacPorts ports tree: devel/libucl/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/libucl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libucl.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
