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

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

## 安装

```sh
sudo av install brew:mdk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mdk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mdk
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install mdk
```

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

- dnf (92%):

```sh
sudo dnf install mdk
```

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

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

## 软件包事实

- **软件包键:** brew:mdk
- **软件包管理器:** Homebrew
- **版本:** 1.3.1
- **来源摘要:** GNU MIX development kit
- **主页:** <https://www.gnu.org/software/mdk/mdk.html>
- **最后更新:** 2026-06-07T13:40:42-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gmixvm (别名)
- mixasm (别名)
- mixguile (别名)
- mixvm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

GNU MDK, the GNU MIX Development Kit, is a suite of tools for developing programs for Donald Knuth's MIX mythical computer and its MIXAL assembly language. It includes command-line and graphical simulators, an assembler, Guile integration, and Emacs support.

### 项目历史

The GNU MDK manual identifies the documented package as version 1.3.0 from October 2020 and states that the manual covers utilities for Donald Knuth's MIX computer and MIXAL. The manual copyright years begin in 2000, showing the package's long-running place in the GNU software collection.

The GNU homepage presents MDK as a GNU project with news, documentation, installation, screenshots, downloads, and Savannah hosting. Homebrew tracked stable version 1.3.1 in 2026, while the input facts list packages across Homebrew, Debian, Ubuntu, Fedora/DNF, MacPorts, and Nix.

### 采用历史

MDK's audience is specialized: readers of The Art of Computer Programming, emulator enthusiasts, GNU users, and people studying assembly-language architecture through Knuth's MIX model. Its adoption is therefore broader in distribution coverage than in everyday command-line visibility.

Its continued presence in general-purpose package managers matters because MIX and MIXAL are educational and historical tools. Packaging MDK keeps examples from Knuth's literature runnable on modern Unix-like systems without each user building the GNU source tree manually.

### 使用方式

The package provides `mixasm` for assembling MIXAL, `mixvm` for simulating the MIX computer, `gmixvm` as a GTK virtual machine, and `mixguile` for Scheme/Guile interaction. The manual includes installation, a MIX and MIXAL tutorial, getting started material, command reference, and Emacs support.

There is no credential flow. Configuration in the manual is runtime-oriented simulator configuration and build/install flags, not a documented per-user config file location suitable for this schema.

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

GNU MDK is package-nerd significant because it is a compact bridge between classic computer-science literature and modern package managers. It lets a formula, Debian package, or Nix derivation install an executable environment for MIXAL programs.

It also illustrates why old educational tools remain packaged: not because they are high-volume infrastructure, but because they preserve reproducible access to an important computing model.

### 时间线

- 2000: GNU MDK manual copyright period begins.
- 2020: Manual documents GNU MDK version 1.3.0.
- 2026: Homebrew formula tracks stable version 1.3.1.

### Related projects

- MDK is directly related to Donald Knuth's MIX and MIXAL from The Art of Computer Programming.
- Within GNU packaging, it is hosted through GNU/Savannah and depends on familiar GNU-adjacent components such as Guile, readline, GTK, flex, and the Boehm-Demers-Weiser garbage collector in Homebrew.

### 来源

- <https://formulae.brew.sh/formula/mdk>
- <https://git.savannah.gnu.org/cgit/mdk.git>
- <https://www.gnu.org/software/mdk/manual>
- <https://www.gnu.org/software/mdk/mdk.html>
- source_facts.package-manager


## 安全说明

没有找到 mdk 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - mdk - 1.3.0+dfsg-4: normalized package name match | Debian stable package indexes: mdk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIX Development Kit | https://www.gnu.org/software/mdk/mdk.html
- Nix - mdk: normalized package name match | nixpkgs package indexes: pkgs/by-name/md/mdk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mdk - 1.3.0+dfsg-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mdk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIX Development Kit | https://www.gnu.org/software/mdk/mdk.html
- dnf - mdk - 1.3.1-8.fc45: normalized package name match | Fedora Rawhide package metadata: mdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU MIX Development Kit | https://www.gnu.org/software/mdk/
- dnf - mdk-doc - 1.3.1-8.fc45: normalized package name match | Fedora Rawhide package metadata: mdk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU MIX Development Kit Documentation and Samples | https://www.gnu.org/software/mdk/
- MacPorts - mdk: normalized package name match | MacPorts ports tree: lang/mdk/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/mdk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mdk.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
