# 使用 Homebrew, pacman, apt 安装 cryptol

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

## 安装

```sh
sudo av install brew:cryptol
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cryptol
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S cryptol
```

  证据: Arch Linux sync databases: cryptol from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install cryptol
```

  证据: Ubuntu 24.04 LTS package indexes: cryptol from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:cryptol
- **软件包管理器:** Homebrew
- **版本:** 3.5.0
- **来源摘要:** Domain-specific language for specifying cryptographic algorithms
- **主页:** <https://galoisinc.github.io/cryptol/master/RefMan.html>
- **仓库:** <https://github.com/GaloisInc/cryptol>
- **最后更新:** 2026-07-22T14:10:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- check-exercises (别名)
- cryptol (别名)
- cryptol-html (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.5.0
## 项目历史与用法

Cryptol is a domain-specific language and toolchain for specifying and checking cryptographic algorithms. It is packaged as a developer tool because its main value is an executable specification language, REPL-like interpreter, and solver-backed verification workflow rather than a conventional application.

### 项目历史

The official README says Cryptol was designed by Galois for the NSA Laboratory for Advanced Cybersecurity Research as a public standard for specifying cryptographic algorithms. The current repository represents Cryptol version 3 and carries Galois copyright notices beginning in 2013, with the public GitHub repository created in 2014.

### 采用历史

Cryptol is distributed through official GitHub release binaries for macOS, Linux, and Windows, and the README explicitly documents Homebrew installation for macOS. The supplied package metadata also lists Arch and Ubuntu packages, reflecting a tool that is niche but important enough for language, formal-methods, and cryptography users to want through normal package channels.

### 使用方式

Users write executable specifications of cryptographic algorithms in Cryptol, then use the interpreter's :check command for randomized testing and :prove or :sat commands through SMT solvers such as Z3. The README also points users toward examples, the standard library, and the related SAW tooling for checking implementations against specifications.

### 为什么软件包爱好者会关心

Cryptol is interesting to packagers because it bundles a language runtime, documentation, examples, and solver expectations into a CLI package. Its README notes that Homebrew installs the appropriate Z3 version automatically, which is the kind of dependency detail that determines whether a formal-methods package works out of the box.

### 时间线

- 2013: The version 3 codebase carries Galois copyright notices beginning in this year.
- 2014: The official GitHub repository was created.
- 2026: The hosted reference manual shows active 3.x documentation and master-branch docs.

### Related projects

- Cryptol is closely related to Galois's SAW tools and to the cryptol-specs repository of example specifications. Its everyday operation also depends on SMT solvers such as Z3.

### 来源

- <https://github.com/GaloisInc/cryptol>
- <https://galoisinc.github.io/cryptol/master/RefMan.html>
- <https://api.github.com/repos/GaloisInc/cryptol>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Ubuntu apt - cryptol - 3.0.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cryptol from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | domain-specific language of cryptography | http://www.cryptol.net/
- pacman - cryptol - 3.3.0-129: normalized package name match | Arch Linux sync databases: cryptol from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Language of Cryptography | https://tools.galois.com/cryptol


## Combined YAML source

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