# 使用 Homebrew, dnf, MacPorts, Nix, apt 安装 libdsk

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

## 安装

```sh
sudo av install brew:libdsk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libdsk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libdsk
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install libdsk
```

  证据: Fedora Rawhide package metadata: libdsk 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#libdsk
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libdsk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libdsk-utils
```

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

## 软件包事实

- **软件包键:** brew:libdsk
- **软件包管理器:** Homebrew
- **版本:** 1.4.2
- **来源摘要:** Library for accessing discs and disc image files
- **主页:** <https://www.seasip.info/Unix/LibDsk/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- apriboot (别名)
- dskdump (别名)
- dskform (别名)
- dskid (别名)
- dskscan (别名)
- dsktrans (别名)
- dskutil (别名)
- md3serial (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

LibDsk is John Elliott's library and utility suite for accessing floppy disks and disk image files, especially formats used by emulators, CP/M tools, and retrocomputing workflows.

### 项目历史

The official LibDsk page positions the library between real floppy hardware, emulator disk-image formats, filesystem utilities, and floppy-controller emulation. It supports raw files and devices, CPCEMU/JOYCE-style .DSK images, MYZ80 hard-drive images, NanoWasp, CFI, CopyQM, TeleDisk, Compaq QRST, APRIDISK, LDBS, rcpmfs, serial-line LibDsk instances, and other formats.

The documented 1.4.x and 1.5.x histories show continued maintenance for unusual formats and preservation edge cases: JV3, CP2, Commodore D64/D64CPM, QRST, SAP, Gotek layouts, Apple Disk Copy 4.2, D88, and the LDBS/LDBST formats. The page also documents Linux kernel FDRAWCMD deprecation as a practical constraint for direct floppy access after Linux 5.18.

### 采用历史

LibDsk's adoption is concentrated in retrocomputing and emulator ecosystems. Its official page names CPMTOOLS integration, emulator tools that convert between real floppies and images, and floppy-controller emulation as intended uses, which explains why distributions package the command-line utilities even though the audience is specialized.

### 使用方式

Packaged utilities such as `dskdump`, `dskform`, `dskid`, `dskscan`, `dsktrans`, `dskutil`, and related tools make LibDsk useful for converting, scanning, formatting, identifying, and transferring disk images. The library side lets emulators and filesystem tools use the same format backends.

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

LibDsk matters because disk-image support is usually a graveyard of one-off converters. Packaging one maintained library with many obscure floppy formats keeps retrocomputing workflows reproducible and prevents every emulator or CP/M tool from carrying its own partial disk-format parser.

### 时间线

- 2022: Official page notes Linux FDRAWCMD deprecation in Linux 5.18+ as a direct-access concern.
- 2024: Official page lists 1.4.2 as stable and 1.5.22 as development downloads.
- 1.4.x: JV3 support and IMD driver fixes documented.
- 1.5.x: LDBS rewrite, D64/D64CPM, CP2, QRST, SAP, Gotek, dc42, LDBST, D88, and additional utilities documented.

### Related projects

- The official page links LibDsk to CPMTOOLS, JOYCE, Lib765, Diskette Tools, AUXD, CPC/PCW/Spectrum +3 CP/M use cases, Gotek USB floppy images, and emulator .DSK formats.

### 来源

- <https://www.seasip.info/Unix/LibDsk>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

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

- Debian apt - libdsk-utils - 1.5.9+dfsg-1+b2: normalized package name match | Debian stable package indexes: libdsk-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for accessing discs and disc image file (utilities) | http://www.seasip.info/Unix/LibDsk/
- Debian apt - libdsk4 - 1.5.9+dfsg-1+b2: normalized package name match | Debian stable package indexes: libdsk4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for accessing discs and disc image file | http://www.seasip.info/Unix/LibDsk/
- Debian apt - libdsk4-dev - 1.5.9+dfsg-1+b2: normalized package name match | Debian stable package indexes: libdsk4-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for accessing discs and disc image file (development headers) | http://www.seasip.info/Unix/LibDsk/
- Nix - libdsk: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libdsk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libdsk-utils - 1.5.9+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libdsk-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for accessing discs and disc image file (utilities) | http://www.seasip.info/Unix/LibDsk/
- Ubuntu apt - libdsk4 - 1.5.9+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libdsk4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for accessing discs and disc image file | http://www.seasip.info/Unix/LibDsk/
- Ubuntu apt - libdsk4-dev - 1.5.9+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libdsk4-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for accessing discs and disc image file (development headers) | http://www.seasip.info/Unix/LibDsk/
- dnf - libdsk - 1.5.22-3.fc45: normalized package name match | Fedora Rawhide package metadata: libdsk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for accessing disk images | http://www.seasip.info/Unix/LibDsk
- dnf - libdsk-devel - 1.5.22-3.fc45: normalized package name match | Fedora Rawhide package metadata: libdsk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libdsk | http://www.seasip.info/Unix/LibDsk
- dnf - libdsk-tools - 1.5.22-3.fc45: normalized package name match | Fedora Rawhide package metadata: libdsk-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for use with libdsk | http://www.seasip.info/Unix/LibDsk
- MacPorts - libdsk: normalized package name match | MacPorts ports tree: devel/libdsk/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/libdsk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libdsk.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
