# Installer traildb avec Homebrew, apt, apk, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de traildb pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:traildb
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install traildb
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tdb
```

  Preuve: MacPorts ports tree: databases/tdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libtraildb-dev
```

  Preuve: Debian stable package indexes: libtraildb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- apk (92%):

```sh
sudo apk add tdb
```

  Preuve: Alpine Linux edge package indexes: tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#tdb
```

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

- pacman (92%):

```sh
sudo pacman -S tdb
```

  Preuve: Arch Linux sync databases: tdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libtdb-devel
```

  Preuve: openSUSE Tumbleweed package metadata: libtdb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:traildb
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.6
- **Résumé source:** Blazingly-fast database for log-structured data
- **Page d'accueil:** <https://traildb.io/>
- **Dépôt:** <https://github.com/traildb/traildb>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- tdb (alias)
- traildb_bench (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.6
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/traildb/traildb - official repository README and metadata.>
- <https://traildb.io/ - official homepage with AdRoll origin, use cases, scale, release note, and language bindings.>
- <https://traildb.io/docs/ - official documentation overview.>
- <https://traildb.io/docs/getting_started/ - official getting-started and Homebrew install docs.>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libtraildb-dev - 0.6+dfsg1-1+b2: normalized package name match | Debian stable package indexes: libtraildb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to handle series of discrete events (development files) | https://github.com/traildb/traildb
- Debian apt - libtraildb0 - 0.6+dfsg1-1+b2: normalized package name match | Debian stable package indexes: libtraildb0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to handle series of discrete events | https://github.com/traildb/traildb
- Debian apt - traildb-cli - 0.6+dfsg1-1+b2: normalized package name match | Debian stable package indexes: traildb-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to handle series of discrete events (cli tool) | https://github.com/traildb/traildb
- Ubuntu apt - libtraildb-dev - 0.6+dfsg1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libtraildb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to handle series of discrete events (development files) | https://github.com/traildb/traildb
- Ubuntu apt - libtraildb0 - 0.6+dfsg1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libtraildb0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to handle series of discrete events | https://github.com/traildb/traildb
- Ubuntu apt - traildb-cli - 0.6+dfsg1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: traildb-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to handle series of discrete events (cli tool) | https://github.com/traildb/traildb
- MacPorts - tdb: installed executable or alias match | MacPorts ports tree: databases/tdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - tdb: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/td/tdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libtdb-dev - 1.4.10-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libtdb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Trivial Database - development files | https://tdb.samba.org/
- Ubuntu apt - libtdb1 - 1.4.10-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libtdb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Trivial Database - shared library | https://tdb.samba.org/
- Ubuntu apt - python3-tdb - 1.4.10-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python3-tdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Python3 bindings for TDB | https://tdb.samba.org/
- Ubuntu apt - tdb-tools - 1.4.10-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: tdb-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Trivial Database - bundled binaries | https://tdb.samba.org/
- apk - py3-tdb - 1.4.15-r1: installed executable or alias match | Alpine Linux edge package indexes: py3-tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Python 3 binding for the tdb library | https://tdb.samba.org/
- apk - tdb - 1.4.15-r1: installed executable or alias match | Alpine Linux edge package indexes: tdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The tdb library | https://tdb.samba.org/
- apk - tdb-dev - 1.4.15-r1: installed executable or alias match | Alpine Linux edge package indexes: tdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The tdb library (development files) | https://tdb.samba.org/
- apk - tdb-doc - 1.4.15-r1: installed executable or alias match | Alpine Linux edge package indexes: tdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The tdb library (documentation) | https://tdb.samba.org/


## Combined YAML source

View the package source record on GitHub. [combined/traildb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/traildb.yml)


## Sources

- 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
