Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install traildb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tdb

MacPorts ports tree · databases/tdb/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Blazingly-fast database for log-structured data

命令和别名

  • tdb
  • traildb_bench

历史

项目历史与用法

TrailDB is a C library and command-line tool for storing and querying immutable series of discrete events. It was created at AdRoll for large-scale event processing and later packaged for developers who need compact, portable event databases.

项目历史

The official TrailDB homepage says TrailDB was created at AdRoll to power processing of time-series events. GitHub repository metadata dates the main repository to August 12, 2014, and the official site documents TrailDB 0.6 as a released version.

The docs describe TrailDB as an efficient tool for storing and querying things that happen over time, such as mobile-app actions, trading-algorithm events, website actions, or server logs. Unlike continuous time-series metrics, TrailDB focuses on discrete, structured events.

The core implementation is a C library with the tdb command-line tool. The official docs and homepage list bindings for Go, Python, D, Haskell, and R, making the project a small database format plus language ecosystem rather than only one executable.

采用历史

The official homepage says AdRoll had used TrailDB since 2014 to store and query tens of trillions of web-originating events. That is the strongest documented adoption signal and explains why the project emphasizes compression, immutability, distributed processing, and low operational overhead.

Package-manager adoption made TrailDB easier to install for local analysis and development. The official README and getting-started docs explicitly mention Homebrew installation, while the input facts show packages or bindings in Homebrew, Alpine, Debian, MacPorts, Nix, Arch, Ubuntu, and openSUSE ecosystems.

使用方式

TrailDBs are immutable files created and read by applications through the TrailDB library. The official docs describe pipelines that encode new TrailDBs periodically, store them in object storage such as S3, and process them in parallel without a centralized bottleneck.

For command-line users, the repository contains tdb and the getting-started guide shows tdb dump against the included test database. TrailDB is used for metrics, usage-pattern analysis, anomaly detection, and clustering or predicting user behavior.

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

TrailDB is package-nerd significant as an example of a specialized database packaged like a Unix tool: a native C library, CLI, compact file format, and multiple language bindings. It appeals to users who want local, scriptable analysis of large event logs without operating a database server.

Its packaging story is also a reminder that some data infrastructure is intentionally file-based and immutable. That makes the install surface small, but dependencies such as Judy arrays and libarchive still matter to maintainers.

时间线

  • 2014: GitHub repository created; AdRoll use begins according to the official homepage.
  • 2016: Official docs copyright and TrailDB site materials identify AdRoll as the project source.
  • 2017: The official homepage announces TrailDB 0.6.
  • 2021: Official documentation build date and repository activity show the project site still published.

Related projects

  • Official TrailDB language binding repositories include traildb-python, traildb-go, traildb-r, traildb-haskell, and traildb-d.
  • The official getting-started docs name Judy arrays and libarchive as external dependencies.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:database

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 12 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tdbcli全局可执行文件
traildb_benchcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/traildb/traildb

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:traildb
版本0.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/traildb
主页https://traildb.io/
仓库https://github.com/traildb/traildb
上游文档https://traildb.io/docs
许可证MIT
源码归档https://github.com/traildb/traildb/archive/refs/tags/0.6.tar.gz
依赖judy, libarchive
构建依赖pkgconf
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libtraildb-dev 0.6+dfsg1-1+b2

library to handle series of discrete events (development files)

https://github.com/traildb/traildb

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

libtraildb0 0.6+dfsg1-1+b2

library to handle series of discrete events

https://github.com/traildb/traildb

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

traildb-cli 0.6+dfsg1-1+b2

library to handle series of discrete events (cli tool)

https://github.com/traildb/traildb

sudo apt install traildb-cli
  • Section: database
  • Architecture: amd64
  • Source Package: traildb
  • 3 依赖
  • normalized package name match
  • 匹配方式:Traildb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: traildb-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libtraildb-dev 0.6+dfsg1-1build2

library to handle series of discrete events (development files)

https://github.com/traildb/traildb

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

libtraildb0 0.6+dfsg1-1build2

library to handle series of discrete events

https://github.com/traildb/traildb

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

traildb-cli 0.6+dfsg1-1build2

library to handle series of discrete events (cli tool)

https://github.com/traildb/traildb

sudo apt install traildb-cli
  • Section: universe/database
  • Architecture: amd64
  • Source Package: traildb
  • 3 依赖
  • normalized package name match
  • 匹配方式:Traildb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: traildb-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts94%

tdb

sudo port install tdb
  • installed executable or alias match
  • 匹配方式:Tdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/tdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

tdb

nix profile install nixpkgs#tdb
  • installed executable or alias match
  • 匹配方式:Tdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/td/tdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libtdb-dev 1.4.10-1build1

Trivial Database - development files

https://tdb.samba.org/

sudo apt install libtdb-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tdb
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libtdb1 1.4.10-1build1

Trivial Database - shared library

https://tdb.samba.org/

sudo apt install libtdb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tdb
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtdb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3-tdb 1.4.10-1build1

Python3 bindings for TDB

https://tdb.samba.org/

sudo apt install python3-tdb
  • Section: python
  • Architecture: amd64
  • Source Package: tdb
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-tdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

tdb-tools 1.4.10-1build1

Trivial Database - bundled binaries

https://tdb.samba.org/

sudo apt install tdb-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: tdb
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Tdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tdb-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

py3-tdb 1.4.15-r1

Python 3 binding for the tdb library

https://tdb.samba.org/

sudo apk add py3-tdb
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb 1.4.15-r1

The tdb library

https://tdb.samba.org/

sudo apk add tdb
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb-dev 1.4.15-r1

The tdb library (development files)

https://tdb.samba.org/

sudo apk add tdb-dev
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

tdb-doc 1.4.15-r1

The tdb library (documentation)

https://tdb.samba.org/

sudo apk add tdb-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tdb
  • installed executable or alias match
  • 匹配方式:Tdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.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