# add-determinism を Homebrew, dnf, Nix, pacman でインストール

add-determinism のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:add-determinism
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install add-determinism
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install add-determinism
```

  証拠: Fedora Rawhide package metadata: add-determinism from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#add-determinism
```

  証拠: nixpkgs package indexes: pkgs/by-name/ad/add-determinism/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S add-determinism
```

  証拠: Arch Linux sync databases: add-determinism from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:add-determinism
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.3
- **ソース概要:** Build postprocessor to reset metadata fields for build reproducibility
- **ホームページ:** <https://github.com/keszybz/add-determinism>
- **リポジトリ:** <https://github.com/keszybz/add-determinism>
- **最終更新:** 2026-06-09T00:53:04Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- add-det (エイリアス)
- linkdupes (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.3
## プロジェクトの歴史と使われ方

add-determinism is a Rust package-build postprocessor for removing common sources of nondeterminism after a build has produced files. Its two command-line programs, add-det and linkdupes, are aimed at reproducible package builds rather than general end-user file cleanup.

### プロジェクトの歴史

The GitHub repository was created in March 2024, and the official README presents the project as a from-scratch Rust implementation inspired by Debian's strip-nondeterminism. The README explains the Fedora/RHEL motivation directly: the author wanted tooling suitable for RPM buildroots without pulling Perl into all build environments, and with behavior tuned for Fedora-style artifacts such as Python bytecode.

The project quickly grew beyond a single timestamp scrubber. add-det rewrites supported archive and generated-file formats in place while preserving safety on failures; linkdupes handles duplicate files in build trees while accounting for SOURCE_DATE_EPOCH and SELinux contexts.

### 採用の歴史

The README documents intended integration with RPM build-root postprocessing through --brp mode and links to redhat-rpm-config pull requests adding add-det and linkdupes to %__os_install_post. The supplied package-manager metadata also shows packaging in Homebrew, Fedora/DNF, Nix, and Arch/pacman.

### 使われ方

Package maintainers run add-det over files or directories to clamp or strip metadata in ar, jar, javadoc HTML, gzip, pyc, and zip outputs. In check mode it reports files that would be modified without rewriting them, which makes it useful in reproducibility tests.

linkdupes walks build output trees and hardlinks files with identical content and compatible metadata. Its package-build angle is that it can clamp mtimes against SOURCE_DATE_EPOCH and avoid unsafe hardlinking across mismatched SELinux contexts.

### パッケージ好きにとっての重要性

This is a small but very package-manager-native tool: it encodes distro build-root concerns, reproducible-build conventions, and RPM macro integration in one binary crate. For package nerds, the interesting part is not a new file format but a practical attempt to make post-build cleanup deterministic, portable across builders, and cheap to add to packaging pipelines.

### タイムライン

- 2024-03: GitHub repository created.
- 2024: v0.1.0 appears in the official tag list.
- Current README: add-det and linkdupes are documented as build postprocessors for reproducible package builds.

### Related projects

- strip-nondeterminism is cited by the README as the inspiration.
- redhat-rpm-config is cited by the README for RPM post-install integration.

### ソース

- <https://api.github.com/repos/keszybz/add-determinism>
- <https://api.github.com/repos/keszybz/add-determinism/tags?per_page=100>
- <https://github.com/keszybz/add-determinism#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - add-determinism: normalized package name match | nixpkgs package indexes: pkgs/by-name/ad/add-determinism/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - add-determinism - 0.7.3-3.fc45: normalized package name match | Fedora Rawhide package metadata: add-determinism from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | RPM buildroot helper to strip nondeterministic bits in files | https://crates.io/crates/add-determinism
- pacman - add-determinism - 0.7.3-1: normalized package name match | Arch Linux sync databases: add-determinism from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Build postprocessor to reset metadata fields for build reproducibility | https://github.com/keszybz/add-determinism
- dnf - linkdupes - 0.7.3-3.fc45: installed executable or alias match | Fedora Rawhide package metadata: linkdupes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | RPM buildroot helper to hardlink identical files | https://crates.io/crates/add-determinism


## Combined YAML source

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