# 使用 Homebrew, apt, MacPorts, Nix 安装 num-utils

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

## 安装

```sh
sudo av install brew:num-utils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install num-utils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install num-utils
```

  证据: MacPorts ports tree: sysutils/num-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install num-utils
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#num-utils
```

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

## 软件包事实

- **软件包键:** brew:num-utils
- **软件包管理器:** Homebrew
- **版本:** 0.5
- **来源摘要:** Programs for dealing with numbers from the command-line
- **主页:** <https://suso.suso.org/xulu/Num-utils>
- **最后更新:** 2026-06-22T14:05:38-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bound (别名)
- interval (别名)
- numgrep (别名)
- numprocess (别名)
- numsum (别名)
- random (别名)
- round (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

num-utils is a small suite of Unix command-line programs for numeric data, intended to do for numbers some of what classic tools like grep, awk, sort, and cut do for text streams.

### 项目历史

The upstream Suso.org page describes num-utils as programs for dealing with numbers from the Unix command line and records a November 19, 2004 release of version 0.5, where `numsum` gained row and column summing features.

A Freshmeat announcement archived in Google Groups describes version 0.1 as an initial but usable release and lists the early tool set: average, bound, numgrep, numprocess, numsum, random, range, and round. A later section in the same archive describes version 0.5 with interval added.

### 采用历史

num-utils found its way into traditional operating-system package collections rather than becoming a high-velocity upstream. Debian sid packages num-utils 0.5-15 in the math section and lists utilities such as numaverage, numbound, numinterval, numnormalize, numgrep, numprocess, numsum, numrandom, numrange, and numround.

Homebrew also packages version 0.5, but its visible analytics on July 1, 2026 were only 62 installs over 365 days. That fits the package's role: old, useful, low-glamour command-line glue.

### 使用方式

The core usage pattern is piping numbers through tiny filters: sum a column with `numsum`, select numbers with `numgrep`, find min/max boundaries with `bound`, normalize a series with `normalize`, round values, generate ranges, or apply arithmetic through `numprocess`.

Package nerds notice num-utils because it fills a gap between one-off `awk` snippets and heavier tools such as datamash or spreadsheet/statistical environments. It is especially legible in shell pipelines where each operation deserves a named command.

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

num-utils is not widely fashionable, but it is a classic example of Unix philosophy packaging: one small numeric operation per executable, text streams in and text streams out, distributed through distro package managers long after upstream slowed down.

### 时间线

- 2004-11-18/19: Freshmeat archive records num-utils 0.5 and upstream page records the November 19, 2004 release note.
- 2026-07-01: Debian sid packaged num-utils 0.5-15; Homebrew formula showed stable 0.5.

### Related projects

- GNU coreutils
- awk
- datamash
- bc
- dc

### 来源

- <https://formulae.brew.sh/formula/num-utils>
- <https://groups.google.com/g/fm.announce/c/OqTEILHwdy0>
- <https://packages.debian.org/sid/math/num-utils>
- <https://suso.suso.org/programs/num-utils/index.phtml>
- <https://suso.suso.org/programs/num-utils/man1/numsum.html>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - num-utils - 0.5-15: normalized package name match | Debian stable package indexes: num-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | programs for dealing with numbers from the command line | https://suso.suso.org/xulu/Num-utils
- Nix - num-utils: normalized package name match | nixpkgs package indexes: pkgs/by-name/nu/num-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - num-utils - 0.5-15: normalized package name match | Ubuntu 24.04 LTS package indexes: num-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | programs for dealing with numbers from the command line | https://suso.suso.org/xulu/Num-utils
- MacPorts - num-utils: normalized package name match | MacPorts ports tree: sysutils/num-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - round: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ro/round/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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