Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, pacman, zypper 安装 botan

查看 botan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install botan

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install botan

MacPorts ports tree · security/botan/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install botan

Debian stable package indexes · botan · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install botan

Fedora Rawhide package metadata · botan · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S botan

Arch Linux sync databases · botan · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install Botan

openSUSE Tumbleweed package metadata · Botan · 来源: download.opensuse.org

概览

软件包摘要

Cryptographic algorithms and formats library in C++

命令和别名

  • botan

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

没有找到 botan 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
botancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.12.0
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://botan.randombit.net/

安装元数据

软件包元数据

软件包键brew:botan
版本3.12.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/botan
主页https://botan.randombit.net/
仓库https://github.com/randombit/botan
上游文档https://botan.randombit.net/doxygen
许可证BSD-2-Clause
源码归档https://botan.randombit.net/releases/Botan-3.12.0.tar.xz
最后更新2026-06-22T14:02:54-07:00
Pulseupdated
依赖ca-certificates, python@3.14, sqlite
构建依赖pkgconf
macOS 提供的库bzip2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebotan
Aliases
  • botan@3
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

botan 3.7.1+dfsg-2

multiplatform crypto library (3.x version)

https://botan.randombit.net/

sudo apt install botan
  • Section: libdevel
  • Architecture: amd64
  • Source Package: botan3
  • 4 依赖
  • normalized package name match
  • 匹配方式:Botan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: botan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbotan-2-19 2.19.5+dfsg-4

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-19
  • Section: libs
  • Architecture: amd64
  • Source Package: botan
  • 9 依赖
  • normalized package name match
  • 匹配方式:Botan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbotan-2-19 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbotan-2-dev 2.19.5+dfsg-4

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: botan
  • 1 依赖
  • normalized package name match
  • 匹配方式:Botan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbotan-2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbotan-2-doc 2.19.5+dfsg-4

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-doc
  • Section: doc
  • Architecture: all
  • Source Package: botan
  • 4 依赖
  • normalized package name match
  • 匹配方式:Botan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbotan-2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

botan 2.19.3+dfsg-1ubuntu2

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install botan
  • Section: universe/libdevel
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Botan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: botan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbotan-2-19 2.19.3+dfsg-1ubuntu2

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-19
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: botan
  • 8 依赖
  • normalized package name match
  • 匹配方式:Botan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbotan-2-19 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbotan-2-dev 2.19.3+dfsg-1ubuntu2

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: botan
  • 1 依赖
  • normalized package name match
  • 匹配方式:Botan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbotan-2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbotan-2-doc 2.19.3+dfsg-1ubuntu2

multiplatform crypto library (2.x version)

https://botan.randombit.net/

sudo apt install libbotan-2-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: botan
  • 4 依赖
  • normalized package name match
  • 匹配方式:Botan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbotan-2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-botan 2.19.3+dfsg-1ubuntu2

multiplatform crypto library (2.x version), Python3 module

https://botan.randombit.net/

sudo apt install python3-botan
  • Section: universe/python
  • Architecture: amd64
  • Source Package: botan
  • 2 依赖
  • normalized package name match
  • 匹配方式:Botan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-botan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

botan 1.10.17-54.fc45

Crypto library written in C++

http://botan.randombit.net/

sudo dnf install botan
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: botan
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Botan
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: botan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

botan-devel 1.10.17-54.fc45

Development files for botan

http://botan.randombit.net/

sudo dnf install botan-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: botan
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Botan
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: botan-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

botan-doc 1.10.17-54.fc45

Documentation for botan

http://botan.randombit.net/

sudo dnf install botan-doc
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: botan
  • 1 提供
  • normalized package name match
  • 匹配方式:Botan
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: botan-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-botan 1.10.17-54.fc45

Python3 bindings for botan

http://botan.randombit.net/

sudo dnf install python3-botan
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: botan
  • 8 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Botan
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-botan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

botan 3.12.0-1

Crypto library written in C++

https://botan.randombit.net/

sudo pacman -S botan
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 7 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Botan
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: botan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

Botan 3.11.1-1.2

A C++ Crypto Library

https://botan.randombit.net

sudo zypper install Botan
  • License: BSD-2-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: Botan
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Botan
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: Botan from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

Botan-doc 3.11.1-1.2

Documentation of Botan

https://botan.randombit.net

sudo zypper install Botan-doc
  • License: BSD-2-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: noarch
  • Source Package: Botan
  • 1 提供
  • normalized package name match
  • 匹配方式:Botan
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: Botan-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment