# 使用 Homebrew 安装 crcany

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

## 安装

```sh
sudo av install brew:crcany
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install crcany
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:crcany
- **软件包管理器:** Homebrew
- **版本:** 2.1
- **来源摘要:** Compute any CRC, a bit at a time, a byte at a time, and a word at a time
- **主页:** <https://github.com/madler/crcany>
- **仓库:** <https://github.com/madler/crcany>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- crcany (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

crcany is Mark Adler's suite of programs for computing arbitrary CRCs and generating C code for efficient CRC calculation and combination.

### 项目历史

The madler/crcany repository was created in 2016. Its README describes the project as a definitive reference for computing and combining any CRC with bit-at-a-time, byte-at-a-time, or word-at-a-time algorithms on big- or little-endian architectures.

### 采用历史

crcany is specialized infrastructure software rather than a broad end-user CLI. Its package appeal comes from bundling reference CRC definitions, code generation, test tooling, and small executables that can be built with make.

### 使用方式

The suite can compute CRCs from named catalogue parameters, combine CRCs from byte sequences, and generate .c and .h files for one or more CRC definitions. The README also documents a make test target that checks calculations and generated code against catalogued CRCs.

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

For maintainers and systems programmers, crcany matters because it turns CRC catalogue data into reproducible C implementations and tests. That makes it useful as both a command-line tool and a source-code generator for packages that need exact checksum behavior.

### 时间线

- 2016: madler/crcany repository created.
- 2020: crcany 2.0 commit present in the official repository.
- 2021: crcany 2.1 commit present in the official repository.

### Related projects

- The README explicitly references Greg Cook's CRC catalogue and Ross Williams's CRC tutorial as the parameter and background sources that crcany consumes.

### 来源

- <https://github.com/madler/crcany>
- <https://github.com/madler/crcany#readme>
- <https://github.com/madler/crcany/tags>
- <https://github.com/madler/crcany/commit/e24f7b2b5daea125848e1a0eb2fa5042b3872461>
- <https://github.com/madler/crcany/commit/41db4b35905f695410dfa76101116b16a486d393>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

View the package source record on GitHub. [combined/crcany.yml](https://github.com/mxcl/pkgdb/blob/main/combined/crcany.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
