# 使用 Homebrew, apt, MacPorts, Nix 安装 ent

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

## 安装

```sh
sudo av install brew:ent
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ent
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ent
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install ent
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ent
```

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

## 软件包事实

- **软件包键:** brew:ent
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ent>
- **版本:** 1.0
- **来源摘要:** Pseudorandom number sequence test program
- **主页:** <https://www.fourmilab.ch/random/>
- **仓库:** <https://github.com/psm14/ent>
- **上游文档:** <https://www.fourmilab.ch/random/>
- **许可证:** LicenseRef-Homebrew-public-domain
- **源码归档:** <https://github.com/psm14/ent/archive/refs/tags/1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ent (cli)
- ent (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0
- 本地数据: OK
- 上游仓库: https://github.com/psm14/ent
- 检测到的最新版本: 1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

ent is John Walker's command-line program for applying statistical tests to byte streams, mainly to inspect pseudorandom number generators, compression output, encrypted data, and other files where information density matters.

### 项目历史

The official Fourmilab page describes ent as a pseudorandom number sequence test program that reads a file or standard input and reports entropy, optimum compression estimate, chi-square distribution, arithmetic mean, Monte Carlo value for pi, and serial correlation.

The page frames the tool around practical comparisons of generated data, including examples contrasting compressed files, Unix `rand()` output, an improved generator, and radioactive-decay random data from Fourmilab's HotBits service.

### 采用历史

ent is a small but widely repackaged scientific CLI. The input metadata lists it in Homebrew, Debian, Ubuntu, MacPorts, and Nix, reflecting its utility as a compact randomness and entropy smoke test in Unix-style workflows.

### 使用方式

Users run `ent` on a file or pipe data to standard input, optionally using flags for byte/bit-oriented output, counts, folding, terse CSV-style output, or stdin handling. The program is commonly used to sanity-check random generators, compressed data, encrypted data, and test fixtures.

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

ent is package-nerd friendly because it is tiny, public-domain in Homebrew metadata, scriptable, and easy to compare across systems. It gives quick statistical signals without requiring a larger cryptography or statistics suite.

### 时间线

- 1990s-2000s: Fourmilab page documents ent as a standalone pseudorandom sequence test utility.
- 2010s: Third-party GitHub mirror created for source availability, while Fourmilab remains the official documentation source.
- 2020s: Package metadata shows continuing availability in Homebrew and several Unix package collections.

### Related projects

- The official page relates ent to Fourmilab HotBits, Unix `rand()`, Park-Miller style pseudorandom generators, and statistical references such as Knuth and Hamming.

### 来源

- <https://www.fourmilab.ch/random>
- <https://formulae.brew.sh/formula/ent>
- <https://github.com/psm14/ent>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Debian apt - ent - 1.2debian-3: normalized package name match | Debian stable package indexes: ent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pseudorandom number sequence test program | http://www.fourmilab.ch/random/
- Nix - ent: normalized package name match | nixpkgs package indexes: pkgs/by-name/en/ent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ent - 1.2debian-3: normalized package name match | Ubuntu 24.04 LTS package indexes: ent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pseudorandom number sequence test program | http://www.fourmilab.ch/random/
- MacPorts - ent: normalized package name match | MacPorts ports tree: math/ent/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/zh-hans/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [xlispstat](https://pkg.so/zh-hans/brew/xlispstat/) - Shares pkgdb curated category or tags: cli, science, statistics.
- [z3](https://pkg.so/zh-hans/brew/z3/) - Shares pkgdb curated category or tags: cli, science.
- [numpy](https://pkg.so/zh-hans/brew/numpy/) - Shares pkgdb curated category or tags: cli, science.
- [gts](https://pkg.so/zh-hans/brew/gts/) - Shares pkgdb curated category or tags: cli, science.
- [jupyterlab](https://pkg.so/zh-hans/brew/jupyterlab/) - Shares pkgdb curated category or tags: cli, science.
- [proj](https://pkg.so/zh-hans/brew/proj/) - Shares pkgdb curated category or tags: cli, science.
- [fftw](https://pkg.so/zh-hans/brew/fftw/) - Shares pkgdb curated category or tags: cli, science.
- [liblinear](https://pkg.so/zh-hans/brew/liblinear/) - Shares pkgdb curated category or tags: cli, science.
- [miller-rabin](https://pkg.so/zh-hans/npm/miller-rabin/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, number, science, test.
- [abpoa](https://pkg.so/zh-hans/brew/abpoa/) - Local package facts share a topical domain. Shared terms: cli, science, sequence.
- [abyss](https://pkg.so/zh-hans/brew/abyss/) - Local package facts share a topical domain. Shared terms: cli, science, sequence.

## Combined YAML source

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