# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/botan>
- **バージョン:** 3.12.0
- **ソース概要:** Cryptographic algorithms and formats library in C++
- **ホームページ:** <https://botan.randombit.net/>
- **リポジトリ:** <https://github.com/randombit/botan>
- **上流ドキュメント:** <https://botan.randombit.net/>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://botan.randombit.net/releases/Botan-3.12.0.tar.xz>
- **最終更新:** 2026-06-22T14:02:54-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- botan (cli)
- botan (エイリアス)

## 依存関係

- ca-certificates
- python@3.14
- sqlite

## ビルド依存関係

- pkgconf

## macOS 提供ライブラリ

- bzip2

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.12.0
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://botan.randombit.net/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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 を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** botan
- **Aliases:** botan@3
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/ja/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [sqlite](https://pkg.so/ja/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [qca](https://pkg.so/ja/brew/qca/) - Popular package that depends on this formula.
- [rnp](https://pkg.so/ja/brew/rnp/) - Popular package that depends on this formula.
- [nss](https://pkg.so/ja/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security, tls.
- [mbedtls](https://pkg.so/ja/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security, tls, x509.
- [opensc](https://pkg.so/ja/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [aws-lc](https://pkg.so/ja/brew/aws-lc/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [gnutls](https://pkg.so/ja/brew/gnutls/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [nettle](https://pkg.so/ja/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libxmlsec1](https://pkg.so/ja/brew/libxmlsec1/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [libressl](https://pkg.so/ja/brew/libressl/) - Security-sensitive metadata or terminology overlaps. Shared terms: ca-certificates, certificates, cli, cryptography, security.
- [showcert](https://pkg.so/ja/brew/showcert/) - Both packages touch the same language runtime or ecosystem. Shared terms: certificates, cli, cryptography, python, python-3-14.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
