# gdbm を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

gdbm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gdbm
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gdbm
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gdbm
```

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

### Linux

- apk (92%):

```sh
sudo apk add gdbm
```

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

- dnf (92%):

```sh
sudo dnf install gdbm
```

  証拠: Fedora Rawhide package metadata: gdbm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gdbm
```

  証拠: nixpkgs package indexes: pkgs/by-name/gd/gdbm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gdbm
```

  証拠: Arch Linux sync databases: gdbm from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install gdbm-l10n
```

  証拠: Debian stable package indexes: gdbm-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install gdbm-devel
```

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

## パッケージ情報

- **パッケージキー:** brew:gdbm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.26
- **ソース概要:** GNU database manager
- **ホームページ:** <https://www.gnu.org.ua/software/gdbm/>
- **最終更新:** 2026-07-17T11:08:00-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gdbm_dump (エイリアス)
- gdbm_load (エイリアス)
- gdbmtool (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.26
## プロジェクトの歴史と使われ方

GNU dbm, or GDBM, is the GNU database manager: a library and small utility set for disk-backed hashed key/value databases compatible in spirit with traditional Unix dbm.

### プロジェクトの歴史

The GDBM manual says the software was originally written by Philip A. Nelson. The project page also credits Philip A. Nelson, Jason Downs, and Sergey Poznyakoff.

GDBM was designed as a programmer library rather than a complete end-user database package. It stores unique key/data pairs in a GDBM disk file and provides primitives for storing, fetching, deleting, iterating, reorganizing, dumping, and loading records.

### 採用の歴史

GDBM's adoption comes from its role as a small native library for programs that need simple persistent key/value storage without running a database server.

The package also provides traditional dbm and ndbm interfaces, which keeps old Unix dbm-style applications buildable against a GNU-maintained implementation.

### 使われ方

The manual shows C programs including gdbm.h, opening a database with gdbm_open, reading records with gdbm_fetch, and linking with -lgdbm.

The package includes command-line utilities such as gdbmtool, gdbm_dump, and gdbm_load for inspecting, modifying, exporting, and importing GDBM databases.

### パッケージ好きにとっての重要性

GDBM is package-nerd significant because it is an old, boring, ABI-sensitive C library that many higher-level packages can quietly depend on for dbm-compatible storage.

It sits in the same mental shelf as Berkeley DB and ndbm: not glamorous, but important when language runtimes or Unix tools need a tiny persistent hash table.

### タイムライン

- Original era: Philip A. Nelson writes the original GNU dbm software.
- Modern manual: GDBM 1.25 documents the current GNU database manager API and utilities.
- 2016-2022: The official project page copyright reflects Sergey Poznyakoff's maintained project page era.

### Related projects

- GDBM is related to standard Unix dbm and ndbm interfaces.
- It is also comparable in package ecosystems to other embedded key/value stores such as Berkeley DB, although the official GDBM docs focus on dbm compatibility rather than positioning against alternatives.

### ソース

- <https://git.savannah.gnu.org/cgit/gdbm.git>
- <https://www.gnu.org.ua/software/gdbm/>
- <https://www.gnu.org.ua/software/gdbm/manual/>
- <https://www.gnu.org.ua/software/gdbm/manual/Intro.html>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Debian apt - gdbm-l10n - 1.24-2: normalized package name match | Debian stable package indexes: gdbm-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (translation files) | https://gnu.org/software/gdbm
- Debian apt - gdbmtool - 1.24-2: normalized package name match | Debian stable package indexes: gdbmtool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (command line tools) | https://gnu.org/software/gdbm
- Debian apt - libgdbm-compat-dev - 1.24-2: normalized package name match | Debian stable package indexes: libgdbm-compat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (legacy support development files) | https://gnu.org/software/gdbm
- Debian apt - libgdbm-compat4t64 - 1.24-2: normalized package name match | Debian stable package indexes: libgdbm-compat4t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (legacy support runtime version) | https://gnu.org/software/gdbm
- Debian apt - libgdbm-dev - 1.24-2: normalized package name match | Debian stable package indexes: libgdbm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (development files) | https://gnu.org/software/gdbm
- Debian apt - libgdbm6t64 - 1.24-2: normalized package name match | Debian stable package indexes: libgdbm6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU dbm database routines (runtime version) | https://gnu.org/software/gdbm
- Nix - gdbm: normalized package name match | nixpkgs package indexes: pkgs/by-name/gd/gdbm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gdbm-l10n - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gdbm-l10n from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU dbm database routines (translation files) | https://gnu.org/software/gdbm
- Ubuntu apt - gdbmtool - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gdbmtool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU dbm database routines (command line tools) | https://gnu.org/software/gdbm
- Ubuntu apt - libgdbm-compat-dev - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdbm-compat-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU dbm database routines (legacy support development files) | https://gnu.org/software/gdbm
- Ubuntu apt - libgdbm-compat4t64 - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdbm-compat4t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU dbm database routines (legacy support runtime version) | https://gnu.org/software/gdbm
- Ubuntu apt - libgdbm-dev - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdbm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU dbm database routines (development files) | https://gnu.org/software/gdbm
- Ubuntu apt - libgdbm6t64 - 1.23-5.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdbm6t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU dbm database routines (runtime version) | https://gnu.org/software/gdbm
- apk - gdbm - 1.26-r0: normalized package name match | Alpine Linux edge package indexes: gdbm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU dbm is a set of database routines that use extensible hashing | https://www.gnu.org/software/gdbm/
- apk - gdbm-dev - 1.26-r0: normalized package name match | Alpine Linux edge package indexes: gdbm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU dbm is a set of database routines that use extensible hashing (development files) | https://www.gnu.org/software/gdbm/
- apk - gdbm-doc - 1.26-r0: normalized package name match | Alpine Linux edge package indexes: gdbm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU dbm is a set of database routines that use extensible hashing (documentation) | https://www.gnu.org/software/gdbm/


## Combined YAML source

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


## ソース

- 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
