# mtbl を Homebrew, apt でインストール

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

## インストール

```sh
sudo av install brew:mtbl
```

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

### macOS

- Homebrew (100%):

```sh
brew install mtbl
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libmtbl-dev
```

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

## パッケージ情報

- **パッケージキー:** brew:mtbl
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7.1
- **ソース概要:** Immutable sorted string table library
- **ホームページ:** <https://github.com/farsightsec/mtbl>
- **リポジトリ:** <https://github.com/farsightsec/mtbl>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mtbl_dump (エイリアス)
- mtbl_info (エイリアス)
- mtbl_merge (エイリアス)
- mtbl_verify (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

mtbl is a Farsight Security C library that packages the Sorted String Table idea as a small Unix-style library rather than as a full database. Its README describes the design as based on the SSTable implementation in Google LevelDB: immutable files map sorted byte-string keys to byte-string values, with an index at the end for lookup. The project deliberately leaves database duties such as update handling, deletion, and coordinating search results across tables to the caller, exposing primitives for creating, searching, and merging SSTable files instead.

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

In practice mtbl is used where a program wants compact, immutable, searchable key-value files and wants to control the surrounding data-management workflow itself. Writers accept already sorted, duplicate-free key-value pairs and write in a single sequential pass; readers support exact-key, prefix, and range iteration; sorter and merger interfaces support bulk-load and multi-table merge workflows with caller-provided duplicate-key merge logic. The file format changed at version 1.0.0, with newer releases retaining read support for older files.

### 使われ方

Its ecosystem role is clearest in Farsight/Internet-measurement software. CAIDA slides from ISC described mtbl alongside dnstable as an SSTable implementation for scalable, compact, sequential-I/O construction. FreeBSD's 2015 addition of dnstable records dnstable as a passive-DNS encoding library and utilities that store records in SSTable files and depend on libmtbl. For package managers, mtbl is a low-level C dependency rather than an end-user application; Homebrew exposes the companion utilities mtbl_dump, mtbl_info, mtbl_merge, and mtbl_verify for inspecting, merging, and checking table files.

### ソース

- <https://formulae.brew.sh/formula/mtbl>
- <https://github.com/farsightsec/mtbl>
- <https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=4079084+0+archive/2015/svn-ports-all/20150405.svn-ports-all>
- <https://www.caida.org/workshops/isc-caida/1210/slides/isc1210_redmonds.html>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

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

- Debian apt - libmtbl-dev - 1.6.1-1+b1: normalized package name match | Debian stable package indexes: libmtbl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | immutable sorted string table library (development files)
- Debian apt - libmtbl1 - 1.6.1-1+b1: normalized package name match | Debian stable package indexes: libmtbl1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | immutable sorted string table library
- Debian apt - mtbl-bin - 1.6.1-1+b1: normalized package name match | Debian stable package indexes: mtbl-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | immutable sorted string table library (utilities)
- Ubuntu apt - libmtbl-dev - 1.3.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtbl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | immutable sorted string table library (development files)
- Ubuntu apt - libmtbl1 - 1.3.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtbl1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | immutable sorted string table library
- Ubuntu apt - mtbl-bin - 1.3.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mtbl-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | immutable sorted string table library (utilities)


## Combined YAML source

View the package source record on GitHub. [combined/mtbl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mtbl.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
