# 使用 Homebrew, apk, apt, Nix, pacman, zypper 安装 strip-nondeterminism

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

## 安装

```sh
sudo av install brew:strip-nondeterminism
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install strip-nondeterminism
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add strip-nondeterminism
```

  证据: Alpine Linux edge package indexes: strip-nondeterminism from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install strip-nondeterminism
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#strip-nondeterminism
```

  证据: nixpkgs package indexes: strip-nondeterminism from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S strip-nondeterminism
```

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

- zypper (92%):

```sh
sudo zypper install strip-nondeterminism
```

  证据: openSUSE Tumbleweed package metadata: strip-nondeterminism from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:strip-nondeterminism
- **软件包管理器:** Homebrew
- **版本:** 1.15.1
- **来源摘要:** Tool for stripping bits of non-deterministic information from files
- **主页:** <https://salsa.debian.org/reproducible-builds/strip-nondeterminism>
- **最后更新:** 2026-06-08T19:20:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- strip-nondeterminism (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

strip-nondeterminism is a Debian Reproducible Builds tool and Perl library for removing timestamps, file ordering, and similar nondeterministic metadata from build artifacts.

### 项目历史

The Reproducible Builds history page says strip-nondeterminism came out of 2014 Debian reproducible-build discussions, when Andrew Ayer took on a generic post-processing tool for file formats such as gzip, Zip, Jar, Javadoc, and static archives.

The Salsa project page describes StripNondeterminism as a Perl library for stripping nondeterministic information from many file and archive formats and says it is integrated into Debian's debhelper system. The Salsa project metadata shows the current repository created on 2018-05-15.

### 采用历史

The Debian manpage documents both the standalone `strip-nondeterminism` command and `dh_strip_nondeterminism`, the debhelper program that examines package build directories and strips reproducibility-breaking metadata automatically.

The supplied package-manager facts show packaging beyond Debian and Ubuntu, including apk, Homebrew, Nix, pacman, and zypper. That spread follows the broader reproducible-builds movement across distributions.

### 使用方式

As a standalone CLI, `strip-nondeterminism [-t filetype] filename ...` post-processes files when the build itself cannot be made deterministic. In Debian packaging, `dh_strip_nondeterminism` is used as a debhelper step that guesses applicable files using `file(1)` and filenames.

Package maintainers use it for the boring but essential cleanup work that makes binary packages rebuild byte-for-byte: normalizing timestamps and metadata in archives rather than patching every upstream build system immediately.

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

This is package-nerd infrastructure in the purest sense: almost invisible to end users, but central to making archives auditable, rebuildable, and less dependent on trust in a single build machine.

It matters because package ecosystems discovered that reproducibility is often won by many small normalizers, policy hooks, and metadata conventions rather than one grand compiler switch.

### 时间线

- 2013: Reproducible Builds history records Debian's first large-scale reproducibility rebuilds.
- 2014: Reproducible Builds history records the idea and first release of strip-nondeterminism after DebConf14 discussions.
- 2015: Reproducible Builds history records the wider Debian announcement of reproducible-build proof-of-concept results.
- 2018-05-15: Salsa project metadata records creation of the current repository.
- 2026: Debian manpages document current standalone and debhelper command behavior.

### Related projects

- Debhelper, dpkg, diffoscope, reprotest, SOURCE_DATE_EPOCH, and the broader Reproducible Builds project are adjacent package-infrastructure work.

### 来源

- <https://manpages.debian.org/testing/dh-strip-nondeterminism/dh_strip_nondeterminism.1p.en.html>
- <https://manpages.debian.org/testing/strip-nondeterminism/strip-nondeterminism.1p.en.html>
- <https://reproducible-builds.org/docs/history/>
- <https://salsa.debian.org/reproducible-builds/strip-nondeterminism>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - dh-strip-nondeterminism - 1.14.1-2: normalized package name match | Debian stable package indexes: dh-strip-nondeterminism from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | file non-deterministic information stripper — Debhelper add-on | https://reproducible-builds.org/
- Debian apt - libfile-stripnondeterminism-perl - 1.14.1-2: normalized package name match | Debian stable package indexes: libfile-stripnondeterminism-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | file non-deterministic information stripper — Perl module | https://reproducible-builds.org/
- Debian apt - strip-nondeterminism - 1.14.1-2: normalized package name match | Debian stable package indexes: strip-nondeterminism from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | file non-deterministic information stripper — stand-alone tool | https://reproducible-builds.org/
- Nix - strip-nondeterminism: normalized package name match | nixpkgs package indexes: strip-nondeterminism from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - dh-strip-nondeterminism - 1.13.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: dh-strip-nondeterminism from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | file non-deterministic information stripper — Debhelper add-on | https://reproducible-builds.org/
- Ubuntu apt - libfile-stripnondeterminism-perl - 1.13.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfile-stripnondeterminism-perl from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | file non-deterministic information stripper — Perl module | https://reproducible-builds.org/
- Ubuntu apt - strip-nondeterminism - 1.13.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: strip-nondeterminism from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | file non-deterministic information stripper — stand-alone tool | https://reproducible-builds.org/
- apk - strip-nondeterminism - 1.15.1-r0: normalized package name match | Alpine Linux edge package indexes: strip-nondeterminism from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for stripping bits of non-deterministic information from files | https://salsa.debian.org/reproducible-builds/strip-nondeterminism
- pacman - strip-nondeterminism - 1.15.1-1: normalized package name match | Arch Linux sync databases: strip-nondeterminism from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for stripping bits of non-deterministic information from files | https://salsa.debian.org/reproducible-builds/strip-nondeterminism
- zypper - strip-nondeterminism - 1.15.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: strip-nondeterminism from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A tool for stripping non-deterministic information | https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git


## Combined YAML source

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