Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libdatrie

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libdatrie

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libdatrie

MacPorts ports tree · devel/libdatrie/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libdatrie

Alpine Linux edge package indexes · libdatrie · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libdatrie

Fedora Rawhide package metadata · libdatrie · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libdatrie

nixpkgs package indexes · pkgs/by-name/li/libdatrie/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libdatrie

Arch Linux sync databases · libdatrie · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libdatrie-dev

Debian stable package indexes · libdatrie-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libdatrie-devel

openSUSE Tumbleweed package metadata · libdatrie-devel · 来源: download.opensuse.org

概览

软件包摘要

Double-Array Trie Library

命令和别名

  • trietool
  • trietool-0.2

历史

项目历史与用法

libdatrie is Theppitak Karoonboonyanan's C implementation of a double-array trie, packaged as a small LGPL library plus the trietool command. It occupies a durable niche in text-processing stacks that need compact dictionary lookup.

项目历史

The upstream README traces libdatrie to an earlier C++ library named midatrie and to Junichi Aoe's double-array trie structure. The project page says the implementation was simplified and rewritten from scratch in C, with libdatrie 0.1.0 released on 18 September 2006.

Release notes show a conservative library-maintenance rhythm: ABI and file-format changes before 0.2.0, portability fixes for Mac, Cygwin, MinGW, NetBSD, and Windows, Doxygen documentation updates, serialization APIs, and build-system cleanup. The package has stayed intentionally focused on the data structure rather than becoming a broad NLP toolkit.

采用历史

The README frames tries as useful for lexical analyzers and spelling dictionaries, and the NEWS file explicitly mentions LibThai word-breaking performance improvements in 2015. Its package availability across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, and other systems reflects its role as a low-level dependency rather than a widely invoked application.

使用方式

Users can link the C library for trie storage and lookup or use trietool to create and inspect trie data. The alphabet-map detail in the original project notes is important: applications define a compact character mapping before building trie storage.

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

libdatrie is the kind of package that shows why distro dependency graphs matter: a tiny C library, an old but useful data structure, a command-line utility, and years of portability fixes that keep language and dictionary packages building cleanly.

时间线

  • 2001: The older midatrie C++ releases appeared on the original project page.
  • 2006: libdatrie 0.1.0 was released as a C rewrite with a BASE-TAIL double-array trie structure.
  • 2009: libdatrie 0.2.0 added performance APIs and started the 0.2 series.
  • 2015: libdatrie 0.2.9 renamed trietool-0.2 to trietool and documented LibThai performance improvements.
  • 2018: libdatrie 0.2.11 and 0.2.12 focused on correctness, C90 portability, and compiler-warning fixes.
  • 2021: libdatrie 0.2.13 added memory-buffer serialization APIs and more portability fixes.
  • 2025: libdatrie 0.2.14 cleaned up build dependencies, parallel-build issues, and error handling.

Related projects

  • midatrie is the direct predecessor. LibThai is a notable downstream text-processing user, and Aoe's double-array trie paper is the algorithmic reference cited by upstream.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
trietoolcli全局可执行文件
trietool-0.2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.2.14
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/tlwg/libdatrie

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/tlwg/libdatrienone 置信度

安装元数据

软件包元数据

软件包键brew:libdatrie
版本0.2.14
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libdatrie
主页https://github.com/tlwg/libdatrie
仓库https://github.com/tlwg/libdatrie
上游文档https://github.com/tlwg/libdatrie#readme
许可证LGPL-2.1-or-later
源码归档https://github.com/tlwg/libdatrie/releases/download/v0.2.14/libdatrie-0.2.14.tar.xz
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibdatrie
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libdatrie-dev 0.2.13-3+b1

Development files for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libdatrie
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdatrie-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdatrie-doc 0.2.13-3

Documentation files for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie-doc
  • Section: doc
  • Architecture: all
  • Source Package: libdatrie
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdatrie-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdatrie1 0.2.13-3+b1

Double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie1
  • Section: libs
  • Architecture: amd64
  • Source Package: libdatrie
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdatrie1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdatrie1-bin 0.2.13-3+b1

Programs for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie1-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: libdatrie
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdatrie1-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libdatrie

nix profile install nixpkgs#libdatrie
  • normalized package name match
  • 匹配方式:Libdatrie
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libdatrie/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libdatrie-dev 0.2.13-3build1

Development files for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libdatrie
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdatrie-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libdatrie-doc 0.2.13-3build1

Documentation files for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie-doc
  • Section: doc
  • Architecture: all
  • Source Package: libdatrie
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdatrie-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libdatrie1 0.2.13-3build1

Double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie1
  • Section: libs
  • Architecture: amd64
  • Source Package: libdatrie
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdatrie1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libdatrie1-bin 0.2.13-3build1

Programs for double-array trie library

https://linux.thai.net/projects/libthai

sudo apt install libdatrie1-bin
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: libdatrie
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdatrie1-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libdatrie 0.2.14-r1

Double-array trie library

https://github.com/tlwg/libdatrie

sudo apk add libdatrie
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libdatrie
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libdatrie
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdatrie from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libdatrie-dev 0.2.14-r1

Double-array trie library (development files)

https://github.com/tlwg/libdatrie

sudo apk add libdatrie-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libdatrie
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libdatrie
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdatrie-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libdatrie-doc 0.2.14-r1

Double-array trie library (documentation)

https://github.com/tlwg/libdatrie

sudo apk add libdatrie-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libdatrie
  • normalized package name match
  • 匹配方式:Libdatrie
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdatrie-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libdatrie-libs 0.2.14-r1

Double-array trie library (libraries)

https://github.com/tlwg/libdatrie

sudo apk add libdatrie-libs
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libdatrie
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libdatrie
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdatrie-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libdatrie 0.2.14-2.fc44

Implementation of Double-Array structure for representing trie

http://linux.thai.net/projects/datrie

sudo dnf install libdatrie
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libdatrie
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libdatrie
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libdatrie from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libdatrie-devel 0.2.14-2.fc44

Development files for libdatrie

http://linux.thai.net/projects/datrie

sudo dnf install libdatrie-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libdatrie
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libdatrie
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libdatrie-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libdatrie 0.2.14-1

Double-array trie library

https://linux.thai.net/projects/datrie

sudo pacman -S libdatrie
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libdatrie
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libdatrie from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment