macOS
brew install libucllocal Homebrew formula metadata
sudo port install libuclMacPorts ports tree · devel/libucl/Portfile · 来源: api.github.com
安装
brew install libucllocal Homebrew formula metadata
sudo port install libuclMacPorts ports tree · devel/libucl/Portfile · 来源: api.github.com
sudo apk add libuclAlpine Linux edge package indexes · libucl · 来源: dl-cdn.alpinelinux.org
sudo dnf install libuclFedora Rawhide package metadata · libucl · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libuclnixpkgs package indexes · pkgs/by-name/li/libucl/package.nix · 来源: api.github.com
概览
Universal configuration library parser
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ucl_chargen | cli | 全局可执行文件 | |
ucl_objdump | cli | 全局可执行文件 | |
ucl_tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/vstakhov/libucl
安装元数据
| 软件包键 | brew:libucl |
|---|---|
| 版本 | 0.9.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libucl |
| 主页 | https://github.com/vstakhov/libucl |
| 仓库 | https://github.com/vstakhov/libucl |
| 上游文档 | https://github.com/vstakhov/libucl |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/vstakhov/libucl/archive/refs/tags/0.9.4.tar.gz |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libucl |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libucl
nix profile install nixpkgs#libucllibucl 0.9.0-r0
Universal configuration library parser
https://github.com/vstakhov/libucl
sudo apk add libucllibucl-dev 0.9.0-r0
Universal configuration library parser (development files)
https://github.com/vstakhov/libucl
sudo apk add libucl-devlibucl-doc 0.9.0-r0
Universal configuration library parser (documentation)
https://github.com/vstakhov/libucl
sudo apk add libucl-doclibucl 0.8.2-13.fc45
Universal configuration library parser
https://github.com/vstakhov/libucl
sudo dnf install libucllibucl-devel 0.8.2-13.fc45
libucl development files
https://github.com/vstakhov/libucl
sudo dnf install libucl-develpython3-libucl 0.8.2-13.fc45
Python bindings for libucl
https://github.com/vstakhov/libucl
sudo dnf install python3-libucllibucl
sudo port install libucl来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.