# libucl mit Homebrew, apk, dnf, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libucl in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install libucl
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libucl
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:libucl
- **Paketmanager:** Homebrew
- **Version:** 0.9.4
- **Quellzusammenfassung:** Universal configuration library parser
- **Homepage:** <https://github.com/vstakhov/libucl>
- **Repository:** <https://github.com/vstakhov/libucl>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- ucl_chargen (Alias)
- ucl_objdump (Alias)
- ucl_tool (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.9.4
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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>


## Sicherheitshinweise

library-like package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- library-like package without higher-risk signals

## Andere Paketmanager-Einträge

- 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)


## Quellen

- 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
