# 使用 Homebrew, apt, dnf, MacPorts 安装 cpmtools

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

## 安装

```sh
sudo av install brew:cpmtools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cpmtools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cpmtools
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install cpmtools
```

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

- dnf (92%):

```sh
sudo dnf install cpmtools
```

  证据: Fedora Rawhide package metadata: cpmtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cpmtools
- **软件包管理器:** Homebrew
- **版本:** 2.23
- **来源摘要:** Tools to access CP/M file systems
- **主页:** <https://www.moria.de/~michael/cpmtools/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cpmchattr (别名)
- cpmchmod (别名)
- cpmcp (别名)
- cpmls (别名)
- cpmrm (别名)
- fsck.cpm (别名)
- fsed.cpm (别名)
- mkfs.cpm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cpmtools is Michael Haardt's collection of utilities for accessing CP/M file systems from modern host systems. It is a retrocomputing and disk-image maintenance package rather than an emulator.

### 项目历史

The upstream README and homepage describe cpmtools as a package for accessing CP/M file systems in a style similar to mtools for MS-DOS file systems. It includes commands for listing, copying, removing, changing attributes and permissions, creating, checking, repairing, and viewing CP/M file systems.

The manual pages identify Michael Haardt's copyright beginning in 1997 and note a Windows port by John Elliott. The 2026 cpmtools 2.24 release continues maintenance with filesystem, filename translation, mkfs, fsck, LibDsk, and diskdefs updates.

### 采用历史

The supplied package facts list cpmtools in Homebrew, Debian, Ubuntu, Fedora/dnf, and MacPorts. That packaging spread reflects its role as a practical bridge between current Unix-like hosts and CP/M disk images used by retrocomputing communities.

### 使用方式

cpmtools is used to inspect and modify CP/M disk images, exchange files with simulators or floppy devices, and define disk geometries through diskdefs. The upstream documentation says all CP/M file system features are supported, while password protection is exposed as data rather than enforced.

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

For packagers, cpmtools is notable because it preserves access to non-self-describing CP/M disk formats. The diskdefs file is part of the package interface: CP/M generally does not store enough format information in the filesystem, so distributions must install the definitions file where the tools can find it.

### 时间线

- 1997: Manual-page copyright begins for Michael Haardt's cpmtools.
- 2022: Upstream files list cpmtools 2.23.
- 2026: Upstream files list cpmtools 2.24 with diskdefs and filesystem fixes.

### Related projects

- mtools is cited by upstream as the analogous package for MS-DOS file systems.
- LibDsk support is mentioned in the 2.24 changes and command manual.

### 来源

- <https://www.moria.de/~michael/cpmtools/>
- <https://www.moria.de/~michael/cpmtools/files/>
- <https://www.moria.de/~michael/cpmtools/files/cpmtools-2.24.tar.gz>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - cpmtools - 2.23-7: normalized package name match | Debian stable package indexes: cpmtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools to access CP/M file systems
- Ubuntu apt - cpmtools - 2.23-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cpmtools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools to access CP/M file systems
- dnf - cpmtools - 2.23-13.fc45: normalized package name match | Fedora Rawhide package metadata: cpmtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Programs for accessing CP/M disks | http://www.moria.de/~michael/cpmtools/
- MacPorts - cpmtools: normalized package name match | MacPorts ports tree: sysutils/cpmtools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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