# 使用 Homebrew, MacPorts 安装 md5sha1sum

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

## 安装

```sh
sudo av install brew:md5sha1sum
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install md5sha1sum
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install md5sha1sum
```

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

## 软件包事实

- **软件包键:** brew:md5sha1sum
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/md5sha1sum>
- **版本:** 0.9.5
- **来源摘要:** Hash utilities
- **主页:** <http://microbrew.org/tools/md5sha1sum/>
- **上游文档:** <http://microbrew.org/tools/md5sha1sum/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://distfiles.macports.org/md5sha1sum/md5sha1sum-0.9.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ripemd160sum (cli)
- ripemd160sum (别名)

## 依赖

- openssl@4

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.5
- 本地数据: OK
- 上游仓库: http://microbrew.org/tools/md5sha1sum/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

md5sha1sum is a small Microbrew toolset providing md5sum, sha1sum, and ripemd160sum replacements. The official page says the tools were intended as compact drop-in replacements for GNU textutils hash utilities, especially for systems such as Solaris where installing all of textutils was excessive.

### 项目历史

The official Microbrew page lists releases from 0.9.0 on 2004-07-31 through 0.9.5 on 2006-12-06. It presents the package as a lightweight portability utility for Linux, Solaris 7 through 10, and Mac OS X, with OpenSSL 0.9.6 or newer as its only listed dependency.

The project is distributed from the official homepage as source tarballs rather than through an official source-control repository. That matches its early-2000s package style: a small tarball, README, INSTALL, ChangeLog, and checksums on a simple project page.

### 采用历史

The supplied package-manager metadata shows Homebrew and MacPorts packaging md5sha1sum. Its adoption appears narrow but useful on macOS-oriented package managers, where GNU-compatible checksum command names were historically less universal than on GNU/Linux.

Because only the official Microbrew page and package-manager metadata are available here, broader adoption claims should be kept modest.

### 使用方式

The official page describes the tools as drop-in replacements for md5sum, sha1sum, and ripemd160sum. In practice the package is for shell scripts and users that want familiar checksum commands without installing the larger GNU textutils/coreutils set.

Homebrew's recorded executable for this formula is `ripemd160sum`, while the upstream page documents the full md5sum, sha1sum, and ripemd160sum toolset.

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

md5sha1sum is a package-nerd artifact from the era when Unix variants differed sharply in which GNU-style checksum tools were present by default. Its purpose was not novelty but portability: providing the familiar hash commands in a tiny OpenSSL-backed package.

The package is also a reminder that package managers preserve small compatibility utilities long after the surrounding platform defaults have changed.

### 时间线

- 2004-07-31: md5sha1sum 0.9.0 released.
- 2004-08-03: md5sha1sum 0.9.2 released.
- 2006-12-05: md5sha1sum 0.9.4 released.
- 2006-12-06: md5sha1sum 0.9.5 released and listed as latest on the official page.

### Related projects

- The official page positions md5sha1sum as an alternative to GNU textutils hash utilities.
- OpenSSL is listed as the package dependency.

### 来源

- <http://microbrew.org/tools/md5sha1sum>
- <http://microbrew.org/tools/md5sha1sum/ChangeLog>
- <http://microbrew.org/tools/md5sha1sum/INSTALL>
- <http://microbrew.org/tools/md5sha1sum/README>
- source_facts.package-manager


## 安全说明

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:** md5sha1sum
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

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

- MacPorts - md5sha1sum: normalized package name match | MacPorts ports tree: sysutils/md5sha1sum/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.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [openssl@4](https://pkg.so/zh-hans/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [md5deep](https://pkg.so/zh-hans/brew/md5deep/) - Shares pkgdb curated category or tags: checksums, cli, cryptography, hashing, security.
- [rhash](https://pkg.so/zh-hans/brew/rhash/) - Shares pkgdb curated category or tags: checksums, cli, cryptography, hashing, security.
- [sha1dc](https://pkg.so/zh-hans/brew/sha1dc/) - Shares pkgdb curated category or tags: cli, cryptography, hashing, security, sha1.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, hashing, security.
- [sha3sum](https://pkg.so/zh-hans/brew/sha3sum/) - Shares pkgdb curated category or tags: cli, cryptography, hashing, security.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [mbedtls](https://pkg.so/zh-hans/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [argon2](https://pkg.so/zh-hans/brew/argon2/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [jscrypto](https://pkg.so/zh-hans/npm/jscrypto/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, hash, hashing, md5.

## Combined YAML source

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