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

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

## インストール

```sh
sudo av install brew:notmuch
```

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

### macOS

- Homebrew (100%):

```sh
brew install notmuch
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install notmuch
```

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

### Linux

- apk (92%):

```sh
sudo apk add notmuch
```

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

- Debian apt (92%):

```sh
sudo apt install notmuch
```

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

- dnf (92%):

```sh
sudo dnf install notmuch
```

  証拠: Fedora Rawhide package metadata: notmuch 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#notmuch
```

  証拠: nixpkgs package indexes: notmuch from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S notmuch
```

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

- zypper (92%):

```sh
sudo zypper install notmuch
```

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

## パッケージ情報

- **パッケージキー:** brew:notmuch
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.40
- **ソース概要:** Thread-based email index, search, and tagging
- **ホームページ:** <https://notmuchmail.org/>
- **最終更新:** 2026-06-22T14:05:38-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- notmuch (エイリアス)
- notmuch-emacs-mua (エイリアス)
- notmuch-git (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Notmuch is a thread-based email index, search, and tagging system built around local mail stores and Xapian search. It deliberately does not receive or send mail; instead it provides the database, CLI, library, tags, and frontends that let other tools build a mail workflow.

The project began as an answer to Sup. The Notmuch homepage says it started as an effort to rewrite Sup's performance-critical pieces in C rather than Ruby, then grew into a separate project with a clean separation between search/indexing and user interface.

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

Notmuch's first public source tarball in the official release directory is notmuch-0.1.tar.gz, dated 2010-04-05. The project had many 0.x releases through the 2010s and reached version 0.40 on 2026-01-31.

The architecture choice that mattered was treating mail as a local searchable database with arbitrary tags. Xapian handles the heavy search work, while Notmuch exposes command-line tools, a C library, language bindings, an Emacs client, Vim support, Mutt integration, and scripts such as notmuch-git.

### 採用の歴史

Notmuch has long-running Unix email adoption rather than mass-market adoption. Its homepage lists packages for Arch Linux, Debian, Fedora, FreeBSD, Gentoo, NetBSD, openSUSE, macOS Homebrew/MacPorts/pkgsrc, and Slackware, and the av.db package record also maps it across Homebrew, apk, Debian/Ubuntu, dnf, MacPorts, Nix, pacman, and zypper.

Homebrew's formula API reported 2,580 install-on-request events and 6,314 installs for notmuch in its 365-day analytics window. That is meaningful for a local-mail power-user tool, especially because many Notmuch users install from Linux distribution packages rather than Homebrew.

### 使われ方

Users point Notmuch at an existing Maildir-style mail store, run the initial setup/indexing flow, then use queries and tags to triage mail. Practical setups commonly pair it with offlineimap/isync or another mail synchronizer, an editor or terminal MUA, and tagging rules for inbox, lists, patches, and saved searches.

Package nerds use Notmuch as infrastructure: notmuch search for shell scripts, notmuch show for extracting messages or patches, Emacs notmuch for a full mail UI, notmuch-mutt for Mutt workflows, and language bindings or libnotmuch for custom tools.

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

Notmuch is one of the canonical examples of Unix-style personal information tooling: it does one hard local thing, makes it fast, keeps data out of hosted search, and lets frontends compete on workflow. Its long release history and packaging breadth make it much more significant than its mainstream visibility suggests.

### タイムライン

- 2010-04-05: notmuch-0.1 tarball appears in the official release directory.
- 2011-12-26: Notmuch frontend wiki page created, later documenting shipped and external clients.
- 2025-03-15: Notmuch 0.39 released.
- 2026-01-31: Notmuch 0.40 released.

### Related projects

- Sup
- Xapian
- notmuch-emacs
- notmuch-mutt
- notmuch-vim
- NeoMutt
- aerc
- alot
- astroid

### ソース

- <https://formulae.brew.sh/api/formula/notmuch.json>
- <https://notmuchmail.org/>
- <https://notmuchmail.org/doc/latest/>
- <https://notmuchmail.org/frontends/>
- <https://notmuchmail.org/news/>
- <https://notmuchmail.org/releases/>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $NOTMUCH_CONFIG, $XDG_CONFIG_HOME/notmuch/<profile>/config, $XDG_CONFIG_HOME/notmuch/default/config, ~/.notmuch-config.<profile>, ~/.notmuch-config
## 他のパッケージマネージャ記録

- Debian apt - elpa-notmuch - 0.39-1: normalized package name match | Debian stable package indexes: elpa-notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging (emacs interface) | https://notmuchmail.org/
- Debian apt - libnotmuch-dev - 0.39-1: normalized package name match | Debian stable package indexes: libnotmuch-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging (development) | https://notmuchmail.org/
- Debian apt - libnotmuch5t64 - 0.39-1: normalized package name match | Debian stable package indexes: libnotmuch5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging (runtime) | https://notmuchmail.org/
- Debian apt - notmuch - 0.39-1: normalized package name match | Debian stable package indexes: notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging | https://notmuchmail.org/
- Debian apt - notmuch-doc - 0.39-1: normalized package name match | Debian stable package indexes: notmuch-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging | https://notmuchmail.org/
- Debian apt - notmuch-git - 0.39-1: normalized package name match | Debian stable package indexes: notmuch-git from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging | https://notmuchmail.org/
- Debian apt - notmuch-mutt - 0.39-1: normalized package name match | Debian stable package indexes: notmuch-mutt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging (Mutt interface) | https://notmuchmail.org/
- Debian apt - notmuch-vim - 0.39-1: normalized package name match | Debian stable package indexes: notmuch-vim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | thread-based email index, search and tagging (vim interface) | https://notmuchmail.org/
- Debian apt - python3-notmuch2 - 0.39-1: normalized package name match | Debian stable package indexes: python3-notmuch2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 interface to the notmuch mail search and index library | https://notmuchmail.org/
- Debian apt - ruby-notmuch - 0.39-1: normalized package name match | Debian stable package indexes: ruby-notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ruby interface to the notmuch mail search and index library | https://notmuchmail.org/
- Nix - notmuch: normalized package name match | nixpkgs package indexes: notmuch from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - elpa-notmuch - 0.38.3-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-notmuch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | thread-based email index, search and tagging (emacs interface) | https://notmuchmail.org/
- Ubuntu apt - libnotmuch-dev - 0.38.3-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotmuch-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | thread-based email index, search and tagging (development) | https://notmuchmail.org/
- Ubuntu apt - libnotmuch5t64 - 0.38.3-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libnotmuch5t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | thread-based email index, search and tagging (runtime) | https://notmuchmail.org/
- Ubuntu apt - notmuch - 0.38.3-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: notmuch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | thread-based email index, search and tagging | https://notmuchmail.org/
- Ubuntu apt - notmuch-doc - 0.38.3-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: notmuch-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | thread-based email index, search and tagging | https://notmuchmail.org/


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
