# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 frotz

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

## 安装

```sh
sudo av install brew:frotz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install frotz
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install frotz
```

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

### Linux

- apk (92%):

```sh
sudo apk add frotz
```

  证据: Alpine Linux edge package indexes: frotz from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install frotz
```

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

- dnf (92%):

```sh
sudo dnf install frotz
```

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

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

- pacman (92%):

```sh
sudo pacman -S frotz-ncurses
```

  证据: Arch Linux sync databases: frotz-ncurses from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:frotz
- **软件包管理器:** Homebrew
- **版本:** 2.55
- **来源摘要:** Infocom-style interactive fiction player
- **主页:** <https://661.org/proj/if/frotz/>
- **最后更新:** 2026-08-02T16:35:33+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dfrotz (别名)
- frotz (别名)
- sfrotz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Frotz is an interpreter for Infocom and other Z-machine interactive fiction games. The current Unix Frotz README describes it as compliant with the Z-Machine Standard 1.1 and able to play Z-code games through curses, dumb-terminal, and SDL interfaces.

### 项目历史

Frotz was originally written by Stefan Jokisch in 1995-1997 and later ported to Unix by Galen Hazelwood. The reference code and Unix port are currently maintained by David Griffith in the GitLab repository.

The broader platform history comes from Infocom's Z-machine: Infocom built an imaginary machine for its interactive fiction games, the format was reverse-engineered in the early to mid-1990s, and Inform enabled new Z-code games after Infocom's commercial era.

### 采用历史

Frotz became a standard way to play Infocom-style interactive fiction on Unix-like systems and other platforms. The README lists support for common Unix flavors including macOS, DOS and FreeDOS, TOPS20 on PDP-10 systems, and portability to other operating systems and hardware.

The project points users to the Interactive Fiction Archive for releases and game material, tying Frotz to the long-running freeware and preservation infrastructure around Z-code games.

### 使用方式

The main commands include `frotz`, `dfrotz`, and `sfrotz`. Users run Frotz with a Z-code or Blorb file, then interact with the story through natural-language commands such as movement, inventory, save, restore, transcript, and look commands.

The Unix line includes config files, user-configurable error checking, sound support through libao, SDL graphics, and multiple front ends for different terminal or graphical needs.

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

Frotz is package-nerd significant because it is the canonical small interpreter package for a preserved game platform. It packages decades of interactive-fiction compatibility into a few command-line front ends, and it is useful on old, unusual, and modern systems alike.

It is also a neat packaging artifact because the program is not the game content: package managers ship the interpreter, while users bring Z-code or Blorb story files from archives, personal collections, or newly authored Inform games.

### 时间线

- Late 1970s-1980s: Infocom develops interactive fiction games for the Z-machine.
- Early to mid-1990s: The Z-machine is reverse-engineered and Inform enables new Z-code games.
- 1995-1997: Stefan Jokisch writes the original Frotz.
- 2019: Frotz 2.50 modernizes the Unix line with UTF-8 input/output, sound, Blorb handling, portability fixes, and safer code changes.
- 2025: Frotz 2.55 is released with bug fixes, manual updates, Z-machine save-restore prompt support, and related enhancements.

### Related projects

- Related projects and artifacts include Infocom, Zork, the Z-machine standards, Inform, Blorb, Quetzal save files, the Interactive Fiction Archive, and other Z-machine interpreters.
- Frotz's platform ports and interfaces relate it to curses, SDL, libao, DOS, TOPS20, and Unix terminal packaging.

### 来源

- <https://gitlab.com/DavidGriffith/frotz/-/raw/master/ChangeLog>
- <https://gitlab.com/DavidGriffith/frotz/-/raw/master/HOW_TO_PLAY>
- <https://gitlab.com/DavidGriffith/frotz/-/raw/master/README.md>
- <https://gitlab.com/DavidGriffith/frotz/-/raw/master/doc/frotz.6>
- <https://gitlab.com/api/v4/projects/DavidGriffith%2Ffrotz/releases>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.frotzrc
## 其他软件包管理器记录

- Debian apt - frotz - 2.55+dfsg-2: normalized package name match | Debian stable package indexes: frotz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | interpreter of Z-code story-files | https://davidgriffith.gitlab.io/frotz/
- Debian apt - sdlfrotz - 2.55+dfsg-2: normalized package name match | Debian stable package indexes: sdlfrotz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | interpreter of Z-code story-files (SDL version) | https://davidgriffith.gitlab.io/frotz/
- Nix - frotz: normalized package name match | nixpkgs package indexes: pkgs/by-name/fr/frotz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - frotz - 2.54+dfsg-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: frotz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | interpreter of Z-code story-files | https://davidgriffith.gitlab.io/frotz/
- Ubuntu apt - sdlfrotz - 2.54+dfsg-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sdlfrotz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | interpreter of Z-code story-files (SDL version) | https://davidgriffith.gitlab.io/frotz/
- apk - frotz - 2.55-r0: normalized package name match | Alpine Linux edge package indexes: frotz from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Portable Z-Machine Interpreter | https://davidgriffith.gitlab.io/frotz/
- apk - frotz-doc - 2.55-r0: normalized package name match | Alpine Linux edge package indexes: frotz-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Portable Z-Machine Interpreter (documentation) | https://davidgriffith.gitlab.io/frotz/
- dnf - frotz - 2.55-4.fc45: normalized package name match | Fedora Rawhide package metadata: frotz from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Interactive fiction interpreter for Z-Machine (Infocom) games | https://gitlab.com/DavidGriffith/frotz/
- dnf - frotz-gui - 2.55-4.fc45: normalized package name match | Fedora Rawhide package metadata: frotz-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | SDL GUI for frotz interactive fiction interpreter | https://gitlab.com/DavidGriffith/frotz/
- pacman - frotz-ncurses - 2.55-1: normalized package name match | Arch Linux sync databases: frotz-ncurses from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | ncurses-based Z-machine interpreter for interactive fiction games | https://gitlab.com/DavidGriffith/frotz
- MacPorts - frotz: normalized package name match | MacPorts ports tree: games/frotz/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - sfrotz: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/sf/sfrotz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - frotz-dumb - 2.55-1: installed executable or alias match | Arch Linux sync databases: frotz-dumb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Z-machine interpreter for interactive fiction games, for dumb terminals or scripting | https://gitlab.com/DavidGriffith/frotz
- pacman - frotz-sdl - 2.55-1: installed executable or alias match | Arch Linux sync databases: frotz-sdl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Graphical Z-machine interpreter for interactive fiction games | https://gitlab.com/DavidGriffith/frotz


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
