macOS
brew install tdblocal Homebrew formula metadata
sudo port install tdbMacPorts ports tree · databases/tdb/Portfile · ソース: api.github.com
brew / 順位 1851
tdb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install tdblocal Homebrew formula metadata
sudo port install tdbMacPorts ports tree · databases/tdb/Portfile · ソース: api.github.com
sudo apk add tdbAlpine Linux edge package indexes · tdb · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#tdbnixpkgs package indexes · pkgs/by-name/td/tdb/package.nix · ソース: api.github.com
sudo pacman -S tdbArch Linux sync databases · tdb · ソース: geo.mirror.pkgbuild.com
sudo apt install libtdb-devUbuntu 24.04 LTS package indexes · libtdb-dev · ソース: archive.ubuntu.com
sudo zypper install libtdb-developenSUSE Tumbleweed package metadata · libtdb-devel · ソース: download.opensuse.org
概要
Trivial DataBase, by the Samba project
履歴
tdb, the Trivial DataBase from the Samba project, is a small embedded key-value database library and set of command-line utilities. Samba's own documentation says it grew out of several ad hoc database-like components inside Samba and was designed as a compact alternative inspired by gdbm.
The official TDB documentation explains the origin directly: Samba had multiple ad hoc pieces of code that shared structures between parts of Samba, and TDB consolidated that need into a simple database API. Its interface was based on gdbm, but gdbm was not suitable for Samba's requirement that multiple writers be able to use a database at the same time.
The API documentation describes TDB as conceptually similar to GDBM and BSD DB, but smaller and with internal locking for concurrent writers. It includes common database operations such as open, fetch, store, delete, traverse, transactions, locking, and consistency checks.
TDB's adoption is tied to Samba itself and to operating-system packaging of Samba-related libraries and tools. The supplied package-manager facts show it available across Homebrew, MacPorts, Nix, Arch, Ubuntu/Debian, Alpine, and openSUSE ecosystems, often as libtdb development packages or Python bindings.
TDB is used as a local embedded database library, and its command-line tools include `tdbtool`, `tdbdump`, `tdbbackup`, and `tdbrestore`. Samba's documentation notes that `tdbtool` allows simple command-line manipulation of databases, while the API is aimed at programs that need small, locked, file-backed databases.
For package maintainers, TDB is notable because it is not just an end-user command: it is infrastructure shipped as libraries, headers, Python bindings, and maintenance tools. Its presence in many package sets reflects Samba's long tail of reusable C libraries and the need for consistent ABI packaging across Unix-like systems.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tdbbackup | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
tdbdump | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
tdbrestore | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
tdbtool | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:tdb |
|---|---|
| バージョン | 1.4.15 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://tdb.samba.org/ |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
tdb
nix profile install nixpkgs#tdblibtdb-dev 1.4.10-1build1
Trivial Database - development files
sudo apt install libtdb-devlibtdb1 1.4.10-1build1
Trivial Database - shared library
sudo apt install libtdb1python3-tdb 1.4.10-1build1
Python3 bindings for TDB
sudo apt install python3-tdbtdb-tools 1.4.10-1build1
Trivial Database - bundled binaries
sudo apt install tdb-toolspy3-tdb 1.4.15-r1
Python 3 binding for the tdb library
sudo apk add py3-tdbtdb 1.4.15-r1
The tdb library
sudo apk add tdbtdb-dev 1.4.15-r1
The tdb library (development files)
sudo apk add tdb-devtdb-doc 1.4.15-r1
The tdb library (documentation)
sudo apk add tdb-doctdb-libs 1.4.15-r1
The tdb library (libraries)
sudo apk add tdb-libstdb 1.4.15-1
Trivial Database similar to GDBM but allows simultaneous commits
sudo pacman -S tdblibtdb-devel 1.4.15-1.3
Libraries and Header Files to Develop Programs with tdb1 Support
sudo zypper install libtdb-devellibtdb1 1.4.15-1.3
Samba Trivial Database
sudo zypper install libtdb1libtdb1-32bit 1.4.15-1.3
Samba Trivial Database
sudo zypper install libtdb1-32bitpython3-tdb 1.4.15-1.3
Python3 bindings for the Tdb library
sudo zypper install python3-tdbpython3-tdb-32bit 1.4.15-1.3
Python3 bindings for the Tdb library
sudo zypper install python3-tdb-32bitソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.