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

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

## インストール

```sh
sudo av install brew:botan
```

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

### macOS

- Homebrew (100%):

```sh
brew install botan
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install botan
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install botan
```

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

- dnf (92%):

```sh
sudo dnf install botan
```

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

- pacman (92%):

```sh
sudo pacman -S botan
```

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

- zypper (92%):

```sh
sudo zypper install Botan
```

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

## パッケージ情報

- **パッケージキー:** brew:botan
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.12.0
- **ソース概要:** Cryptographic algorithms and formats library in C++
- **ホームページ:** <https://botan.randombit.net/>
- **リポジトリ:** <https://github.com/randombit/botan>
- **最終更新:** 2026-06-22T14:02:54-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- botan (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Botan is a permissively licensed C++ cryptography toolkit with a library-first identity and a substantial command-line companion. In package-manager culture it occupies the same broad territory as OpenSSL, libsodium, and Crypto++, but with a C++ API, modular build controls, Python/C FFI surfaces, and an intentionally broad algorithm catalog.

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

The current public development home is the randombit/botan GitHub repository, created in March 2013, while the official documentation describes Botan as a C++ cryptography library focused on production cryptography. Its handbook frames the project around secure distributed systems, constant-time programming, test coverage, side-channel analysis, safe defaults, portability to modern systems, and post-quantum readiness.

Botan 3 became the active release line, with the upstream README documenting quarterly Botan3 minor releases. Botan2 reached end of life on 2025-01-01, with the final Botan2 release listed as 2.19.5 from 2024-07-08.

### 採用の歴史

Botan is distributed by major Unix-like package systems, including Homebrew, Debian-family distributions, Fedora, Arch, MacPorts, and openSUSE according to the package facts and the upstream README's distribution note. Its adoption is less about a single dominant CLI and more about being a reusable cryptographic substrate for C++ applications that want TLS, X.509, PKCS#11, TPM, password hashing, and newer post-quantum primitives without binding themselves to OpenSSL APIs.

The project also exposes C, Python, and third-party language bindings, which makes it useful to packagers who want one audited native cryptography implementation to serve multiple language ecosystems.

### 使われ方

The installed `botan` executable exposes many library functions in shell form: hashing, HMAC, password hashing, symmetric encryption, public-key operations, certificate handling, TLS-related tooling, and other cryptographic utilities. The library side is used by applications that need a C++ cryptography API with configurable modules and platform certificate-store support.

For package users, Botan is commonly installed as a development dependency as well as a CLI utility; its package significance comes from headers, libraries, ABI concerns, and feature selection as much as from the command-line binary.

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

Botan is a classic package-nerd library: it is security-sensitive, ABI-sensitive, heavily tested, and exposed through many downstream packages. Its release notes read like infrastructure maintenance, with CVEs, certificate-path behavior, compiler support, optimized CPU code paths, TLS conformance, and algorithm additions all mattering to downstream maintainers.

It is also notable as a modern C++ crypto stack that deliberately includes post-quantum algorithms and side-channel testing in its project goals, making it a useful barometer for where general-purpose cryptography libraries are moving.

### タイムライン

- 2013: Public GitHub repository created for randombit/botan.
- 2024: Botan 2.19.5 released as the final Botan2 series release.
- 2025: Botan2 reached end of life on January 1.
- 2026: Botan 3.12.0 released with TLS, X.509, performance, and security fixes.

### Related projects

- OpenSSL is the most common comparison point for everyday command-line crypto and TLS tooling.
- Crypto++ is a related C++ cryptography library in the same packaging space.
- libsodium is a related security library with a narrower, opinionated API surface.

### ソース

- <https://api.github.com/repos/randombit/botan>
- <https://botan.randombit.net/handbook/cli.html>
- <https://botan.randombit.net/handbook/goals.html>
- <https://botan.randombit.net/news.html>
- <https://github.com/randombit/botan>


## セキュリティノート

botan に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


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

- Debian apt - botan - 3.7.1+dfsg-2: normalized package name match | Debian stable package indexes: botan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multiplatform crypto library (3.x version) | https://botan.randombit.net/
- Debian apt - libbotan-2-19 - 2.19.5+dfsg-4: normalized package name match | Debian stable package indexes: libbotan-2-19 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Debian apt - libbotan-2-dev - 2.19.5+dfsg-4: normalized package name match | Debian stable package indexes: libbotan-2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Debian apt - libbotan-2-doc - 2.19.5+dfsg-4: normalized package name match | Debian stable package indexes: libbotan-2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Ubuntu apt - botan - 2.19.3+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: botan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Ubuntu apt - libbotan-2-19 - 2.19.3+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbotan-2-19 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Ubuntu apt - libbotan-2-dev - 2.19.3+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbotan-2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Ubuntu apt - libbotan-2-doc - 2.19.3+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbotan-2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multiplatform crypto library (2.x version) | https://botan.randombit.net/
- Ubuntu apt - python3-botan - 2.19.3+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-botan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multiplatform crypto library (2.x version), Python3 module | https://botan.randombit.net/
- dnf - botan - 1.10.17-56.fc45: normalized package name match | Fedora Rawhide package metadata: botan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Crypto library written in C++ | http://botan.randombit.net/
- dnf - botan-devel - 1.10.17-56.fc45: normalized package name match | Fedora Rawhide package metadata: botan-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for botan | http://botan.randombit.net/
- dnf - botan-doc - 1.10.17-56.fc45: normalized package name match | Fedora Rawhide package metadata: botan-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for botan | http://botan.randombit.net/
- dnf - python3-botan - 1.10.17-56.fc45: normalized package name match | Fedora Rawhide package metadata: python3-botan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python3 bindings for botan | http://botan.randombit.net/
- pacman - botan - 3.12.0-1: normalized package name match | Arch Linux sync databases: botan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Crypto library written in C++ | https://botan.randombit.net/
- zypper - Botan - 3.11.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: Botan from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A C++ Crypto Library | https://botan.randombit.net
- zypper - Botan-doc - 3.11.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: Botan-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation of Botan | https://botan.randombit.net


## Combined YAML source

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