macOS
brew install libdatrielocal Homebrew formula metadata
sudo port install libdatrieMacPorts ports tree · devel/libdatrie/Portfile · source: api.github.com
brew
Double-Array Trie Library. Version 0.2.14 via Homebrew; verified from local package data.
install
brew install libdatrielocal Homebrew formula metadata
sudo port install libdatrieMacPorts ports tree · devel/libdatrie/Portfile · source: api.github.com
sudo apk add libdatrieAlpine Linux edge package indexes · libdatrie · source: dl-cdn.alpinelinux.org
sudo apt install libdatrie-devDebian stable package indexes · libdatrie-dev · source: deb.debian.org
sudo dnf install libdatrieFedora Rawhide package metadata · libdatrie · source: dl.fedoraproject.org
nix profile install nixpkgs#libdatrienixpkgs package indexes · pkgs/by-name/li/libdatrie/package.nix · source: api.github.com
sudo pacman -S libdatrieArch Linux sync databases · libdatrie · source: geo.mirror.pkgbuild.com
sudo zypper install libdatrie-developenSUSE Tumbleweed package metadata · libdatrie-devel · source: download.opensuse.org
overview
Double-Array Trie Library
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
trietool | cli | global executable | |
trietool-0.2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tlwg/libdatrie
install metadata
| Package key | brew:libdatrie |
|---|---|
| Version | 0.2.14 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libdatrie |
| Homepage | https://github.com/tlwg/libdatrie |
| Repository | https://github.com/tlwg/libdatrie |
| Upstream docs | https://github.com/tlwg/libdatrie#readme |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/tlwg/libdatrie/releases/download/v0.2.14/libdatrie-0.2.14.tar.xz |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libdatrie |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libdatrie-dev 0.2.13-3+b1
Development files for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie-devlibdatrie-doc 0.2.13-3
Documentation files for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie-doclibdatrie1 0.2.13-3+b1
Double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie1libdatrie1-bin 0.2.13-3+b1
Programs for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie1-binlibdatrie
nix profile install nixpkgs#libdatrielibdatrie-dev 0.2.13-3build1
Development files for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie-devlibdatrie-doc 0.2.13-3build1
Documentation files for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie-doclibdatrie1 0.2.13-3build1
Double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie1libdatrie1-bin 0.2.13-3build1
Programs for double-array trie library
https://linux.thai.net/projects/libthai
sudo apt install libdatrie1-binlibdatrie 0.2.14-r1
Double-array trie library
https://github.com/tlwg/libdatrie
sudo apk add libdatrielibdatrie-dev 0.2.14-r1
Double-array trie library (development files)
https://github.com/tlwg/libdatrie
sudo apk add libdatrie-devlibdatrie-doc 0.2.14-r1
Double-array trie library (documentation)
https://github.com/tlwg/libdatrie
sudo apk add libdatrie-doclibdatrie-libs 0.2.14-r1
Double-array trie library (libraries)
https://github.com/tlwg/libdatrie
sudo apk add libdatrie-libslibdatrie 0.2.14-2.fc44
Implementation of Double-Array structure for representing trie
http://linux.thai.net/projects/datrie
sudo dnf install libdatrielibdatrie-devel 0.2.14-2.fc44
Development files for libdatrie
http://linux.thai.net/projects/datrie
sudo dnf install libdatrie-devellibdatrie 0.2.14-1
Double-array trie library
https://linux.thai.net/projects/datrie
sudo pacman -S libdatriesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.