macOS
brew install sdblocal Homebrew formula metadata
brew / rank 5904
Ondisk/memory hashtable based on CDB. Version 2.5.2 via Homebrew; verified 2026-09-13. Also installable with apk: sudo apk add sdb.
install
brew install sdblocal Homebrew formula metadata
sudo apk add sdbAlpine Linux edge package indexes · sdb · source: dl-cdn.alpinelinux.org
overview
Ondisk/memory hashtable based on CDB
history
SDB is a compact string-oriented key/value database and C library with on-disk and in-memory operation, a CLI, arrays, and JSON introspection.
SDB was created by radare developer Sergi Alvarez, known as pancake, as a simple string key/value database derived from Daniel J. Bernstein's cdb storage design. The project modifies the record encoding to reduce database size and layers additional data conveniences over the compact store.
The repository also describes mcsdbd, a memcache-compatible server backed by SDB, and language bindings or related libraries for several environments.
SDB is distributed as a standalone command and library and is packaged by Homebrew and Alpine Linux. Its close association with the radare organization also makes it familiar to users and packagers of the radare2 reverse-engineering ecosystem.
The `sdb` command can create or query a named database, operate transiently without a disk database, manipulate arrays, and address fields inside JSON values. Applications can instead embed the library.
SDB is notable as a deliberately small embedded string database: it adapts cdb's disk format, adds atomic synchronization, arrays, JSON introspection, namespaces, and command-line access, and can be incorporated as a library.
security posture
narrow executable 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 |
|---|---|---|---|
sdb | 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/radareorg/sdb
install metadata
| Package key | brew:sdb |
|---|---|
| Version | 2.5.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sdb |
| Homepage | https://www.radare.org/ |
| Repository | https://github.com/radareorg/sdb |
| Upstream docs | https://www.radare.org/ |
| License | MIT |
| Source archive | https://github.com/radareorg/sdb/archive/refs/tags/2.5.0.tar.gz |
| Last updated | 2026-09-13T08:22:33Z |
| Pulse | updated |
| Dependencies | glib |
| Build dependencies | meson, ninja, pkgconf, vala |
| 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 | sdb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| 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.
sdb 2.4.6-r0
Key-value database with support for arrays and json
https://github.com/radareorg/sdb
sudo apk add sdbsdb-dev 2.4.6-r0
Key-value database with support for arrays and json (development files)
https://github.com/radareorg/sdb
sudo apk add sdb-devsdb-doc 2.4.6-r0
Key-value database with support for arrays and json (documentation)
https://github.com/radareorg/sdb
sudo apk add sdb-docsdb-libs 2.4.6-r0
Key-value database with support for arrays and json (libraries)
https://github.com/radareorg/sdb
sudo apk add sdb-libssdb-static 2.4.6-r0
Key-value database with support for arrays and json (static library)
https://github.com/radareorg/sdb
sudo apk add sdb-staticsource 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.