# 使用 Homebrew, apk, dnf, MacPorts, Nix, scoop, winget 安装 dosbox-staging

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

## 安装

```sh
sudo av install brew:dosbox-staging
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dosbox-staging
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dosbox-staging
```

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

### Linux

- apk (92%):

```sh
sudo apk add dosbox-staging
```

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

- dnf (92%):

```sh
sudo dnf install dosbox-staging
```

  证据: Fedora Rawhide package metadata: dosbox-staging from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dosbox-staging
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/dosbox-staging
```

  证据: Scoop official bucket manifest trees: bucket/dosbox-staging.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id DOSBoxStaging.DOSBoxStaging -e
```

  证据: Windows Package Manager source index: DOSBoxStaging.DOSBoxStaging from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:dosbox-staging
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dosbox-staging>
- **版本:** 0.82.2
- **来源摘要:** Modernized DOSBox soft-fork
- **主页:** <https://dosbox-staging.github.io/>
- **仓库:** <https://github.com/dosbox-staging/dosbox-staging>
- **上游文档:** <https://dosbox-staging.github.io/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v0.82.2.tar.gz>
- **最后更新:** 2026-06-18T02:28:56-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dosbox-staging (cli)
- dosbox-staging (别名)

## 依赖

- fluid-synth
- glib
- iir1
- libpng
- libslirp
- mt32emu
- opusfile
- sdl2-compat
- sdl2_image
- sdl2_net
- speexdsp

## 构建依赖

- meson
- ninja
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.82.2
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/dosbox-staging/dosbox-staging
- 检测到的最新版本: v0.82.2 (当前)
## 项目历史与用法

DOSBox Staging is a modern continuation of DOSBox focused on keeping classic DOS games and applications easy to run while updating the codebase, build tooling, documentation, audio/video behavior, and release practices.

### 项目历史

The project presents itself as a mostly drop-in replacement for older DOSBox versions, with existing configurations expected to keep working while users gain newer features. Its README also documents a deliberate preservation role: upstream DOSBox SVN commits, abandoned fork code, and community patches from Vogons are imported into named branches for reference and maintenance.

DOSBox Staging's public release history on GitHub begins with pre-release artifacts in late 2019 and a 0.75.0 release in May 2020. Since then the project has continued on a regular release cadence while adopting contemporary C++ development infrastructure such as CMake, vcpkg, CI, static analysis, dynamic analysis, clang-format, and unit tests.

### 采用历史

Adoption has been driven by retro-computing users who want DOSBox compatibility with more active maintenance and cross-platform packaging. The project publishes stable builds for Windows, macOS, and Linux on its own website, and Homebrew source facts list packages in apk, Homebrew, Fedora, MacPorts, Nix, Scoop, and winget.

The project also serves migrations from other DOSBox variants: its README directs first-time users and people migrating from other DOSBox variants to the getting-started guide.

### 使用方式

Users run dosbox-staging to launch DOS games and applications, mount directories or images, and use a DOSBox-style configuration file. Its appeal is compatibility with existing DOSBox workflows while shipping modern defaults and maintained packages.

For packagers and contributors, DOSBox Staging is notable because it treats old emulator history as source material while maintaining a conventional modern open-source workflow: release builds, development builds, CI, tests, and documented dependencies.

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

DOSBox Staging matters to package nerds because it is a soft fork that tries to make a beloved emulator easier to ship today. It is less about novelty than about maintainable builds, reproducible packaging, and keeping an important retro-gaming tool alive on current platforms.

The repo's imported SVN, fork, and Vogons patch branches are unusually explicit preservation infrastructure, useful for people tracking how DOSBox variants evolved and where old community patches came from.

### 时间线

- 2019: Public pre-release artifacts appear for version 0.75.0-pre.
- 2020: Version 0.75.0 is released on GitHub.
- 2020s: The project publishes stable builds for Windows, macOS, and Linux and keeps development builds for main-branch commits.
- 2026: The project is preparing the 0.83/0.84 generation with release candidates and alpha releases.

### Related projects

- DOSBox Staging is related to upstream DOSBox, DOSBox SVN, abandoned DOSBox forks imported into its repository, Vogons community patches, and optional ecosystem pieces such as dosbox-staging-ext for dynamically loaded dependencies.

### 来源

- <https://github.com/dosbox-staging/dosbox-staging>
- <https://www.dosbox-staging.org/about/>
- <https://www.dosbox-staging.org/getting-started/>
- <https://api.github.com/repos/dosbox-staging/dosbox-staging/releases?per_page=100>
- <https://formulae.brew.sh/formula/dosbox-staging>


## 安全说明

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

- Linux: ~/.config/dosbox/dosbox-staging.conf
- macOS: ~/Library/Preferences/DOSBox/dosbox-staging.conf
- Windows: C:\Users\%USERNAME%\AppData\Local\DOSBox\dosbox-staging.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dosbox-staging
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - dosbox-staging: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/dosbox-staging/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dosbox-staging - 0.82.2-r1: normalized package name match | Alpine Linux edge package indexes: dosbox-staging from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | revitalized dosbox DOS-emulator | https://dosbox-staging.github.io/
- apk - dosbox-staging-doc - 0.82.2-r1: normalized package name match | Alpine Linux edge package indexes: dosbox-staging-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | revitalized dosbox DOS-emulator (documentation) | https://dosbox-staging.github.io/
- dnf - dosbox-staging - 0.82.2-6.fc45: normalized package name match | Fedora Rawhide package metadata: dosbox-staging from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Modern continuation of DOSBox with advanced features | https://www.dosbox-staging.org/
- MacPorts - dosbox-staging: normalized package name match | MacPorts ports tree: emulators/dosbox-staging/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/dosbox-staging: normalized package name match | Scoop official bucket manifest trees: bucket/dosbox-staging.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - DOSBoxStaging.DOSBoxStaging: normalized package name match | Windows Package Manager source index: DOSBoxStaging.DOSBoxStaging from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Game and emulation packages](https://pkg.so/zh-hans/game-emulation-tools/) - Matched game or emulation metadata.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [sdl2-compat](https://pkg.so/zh-hans/brew/sdl2-compat/) - Runtime dependency declared by Homebrew.
- [fluid-synth](https://pkg.so/zh-hans/brew/fluid-synth/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/zh-hans/brew/meson/) - Build dependency declared by Homebrew.
- [dosbox-x](https://pkg.so/zh-hans/brew/dosbox-x/) - Shares pkgdb curated category or tags: cli, cross-platform, dos, emulation, emulator.
- [ppsspp](https://pkg.so/zh-hans/brew/ppsspp/) - Shares pkgdb curated category or tags: cli, cross-platform, emulation, emulator, games.
- [mupen64plus](https://pkg.so/zh-hans/brew/mupen64plus/) - Shares pkgdb curated category or tags: cli, cross-platform, emulation, emulator, games.
- [mame](https://pkg.so/zh-hans/brew/mame/) - Shares pkgdb curated category or tags: cli, emulation, emulator, games.
- [mednafen](https://pkg.so/zh-hans/brew/mednafen/) - Shares pkgdb curated category or tags: cli, emulation, emulator, games.
- [nestopia-ue](https://pkg.so/zh-hans/brew/nestopia-ue/) - Shares pkgdb curated category or tags: cli, emulation, emulator, games.
- [quasi88](https://pkg.so/zh-hans/brew/quasi88/) - Shares pkgdb curated category or tags: cli, emulation, emulator, games, retro-computing.
- [scummvm](https://pkg.so/zh-hans/brew/scummvm/) - Shares pkgdb curated category or tags: cli, cross-platform, emulation, games.

## Combined YAML source

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


## 来源

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