# 使用 Homebrew, apt, Nix 安装 spigot

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

## 安装

```sh
sudo av install brew:spigot
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spigot
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install spigot
```

  证据: Debian stable package indexes: spigot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#spigot
```

  证据: nixpkgs package indexes: pkgs/by-name/sp/spigot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:spigot
- **软件包管理器:** Homebrew
- **版本:** 20260410
- **来源摘要:** Command-line streaming exact real calculator
- **主页:** <https://www.chiark.greenend.org.uk/~sgtatham/spigot/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spigot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

spigot is Simon Tatham's command-line exact real calculator, aimed at producing verified digits from mathematical expressions rather than fast floating-point approximations.

### 项目历史

The official page describes spigot as a streaming exact real calculator named after Jeremy Gibbons's unbounded spigot algorithm for digits of pi, expanded to support more output modes and input numbers.

### 采用历史

The project is distributed from the author's site as a Unix source archive and Windows executable, with official development sources in a Tartarus git repository. The input package facts show it packaged in Homebrew, Debian, Nix, and Ubuntu.

### 使用方式

The manual documents an expression language, output modes, rounding modes, file and pipe input, and a Unix man-page appendix. Its niche is slow but exact calculation, especially for many digits, numerically fragile expressions, or cross-checking another system.

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

For package people, spigot is the pleasing sort of small CLI that rewards being packaged: mathematically specialized, scriptable, source-distributed, and useful as a reproducibility check when ordinary calculators hide rounding behavior.

### 时间线

- 2026: Official page offered source archive spigot-20260410.ed81b83.tar.gz and was last modified on April 10.
- 2026: Official page documented the Tartarus git repository as the latest development source.

### Related projects

- Jeremy Gibbons's unbounded spigot algorithm
- Unix calculators
- exact real arithmetic tools

### 来源

- <https://www.chiark.greenend.org.uk/~sgtatham/spigot/>
- <https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot.html>
- input source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - spigot - 0.2017-01-15.gdad1bbc6-1+b1: normalized package name match | Debian stable package indexes: spigot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Exact real calculator | http://www.chiark.greenend.org.uk/~sgtatham/spigot/
- Nix - spigot: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spigot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - spigot - 0.2017-01-15.gdad1bbc6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: spigot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Exact real calculator | http://www.chiark.greenend.org.uk/~sgtatham/spigot/


## Combined YAML source

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