# blockhash を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:blockhash
```

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

### macOS

- Homebrew (100%):

```sh
brew install blockhash
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#blockhash
```

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

## パッケージ情報

- **パッケージキー:** brew:blockhash
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3.3
- **ソース概要:** Perceptual image hash calculation tool
- **ホームページ:** <https://github.com/commonsmachinery/blockhash>
- **リポジトリ:** <https://github.com/commonsmachinery/blockhash>
- **最終更新:** 2026-07-06T11:06:08Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- blockhash (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

blockhash is a small Commons Machinery command-line tool for computing perceptual image hashes. It packages the block mean value perceptual-hashing algorithm into a Unix-style utility that can hash one or more images from the shell.

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

The official README says blockhash is based on the algorithm described in 'Block Mean Value Based Image Perceptual Hashing' by Bian Yang, Fan Gu, and Xiamu Niu. GitHub metadata dates the repository to September 2014, and the README copyright line names Commons Machinery in 2014.

The release history shows v0.1 in December 2014, follow-up 0.2 releases in January 2017, v0.3 in November 2017, and later maintenance releases through v0.3.3 in January 2023.

### 採用の歴史

blockhash has narrow but durable package adoption. The input metadata records Homebrew and Nix packages, which is enough for scripts and reproducible media-processing environments to depend on the CLI without building the ImageMagick-backed source manually.

### 使われ方

The README documents a direct CLI workflow: run `blockhash` with a list of images to calculate hashes, or `blockhash --help` for options. Building from source requires ImageMagick's MagickWand development library and the waf build script.

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

blockhash matters as a compact packaged implementation of perceptual hashing, useful for duplicate detection, image comparison, media archives, and content pipelines where cryptographic hashes are too brittle because visually similar images may have different bytes.

### タイムライン

- 2014: Official repository created and v0.1 released.
- 2017: 0.2 and v0.3 releases published.
- 2023: v0.3.3 maintenance release published.

### Related projects

- ImageMagick/MagickWand is the image-processing dependency named in the README.
- The underlying perceptual-hashing method comes from the block mean value image hashing paper cited by the README.
- Other perceptual-hash tools and media duplicate-detection pipelines are adjacent use cases.

### ソース

- GitHub repository metadata via gh api repos/commonsmachinery/blockhash
- <https://github.com/commonsmachinery/blockhash#readme>
- <https://github.com/commonsmachinery/blockhash/releases>
- source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - blockhash: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/blockhash/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/blockhash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/blockhash.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
