# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 mednafen

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

## 安装

```sh
sudo av install brew:mednafen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mednafen
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mednafen
```

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

### Linux

- apk (92%):

```sh
sudo apk add mednafen
```

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

- Debian apt (92%):

```sh
sudo apt install mednafen
```

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

- dnf (92%):

```sh
sudo dnf install mednafen
```

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

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

- pacman (92%):

```sh
sudo pacman -S mednafen
```

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

- zypper (92%):

```sh
sudo zypper install mednafen
```

  证据: openSUSE Tumbleweed package metadata: mednafen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/mednafen
```

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

- winget (92%):

```sh
winget install --id MednafenTeam.Mednafen -e
```

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

## 软件包事实

- **软件包键:** brew:mednafen
- **软件包管理器:** Homebrew
- **版本:** 1.32.1
- **来源摘要:** Multi-system emulator
- **主页:** <https://mednafen.github.io/>
- **最后更新:** 2026-06-18T02:28:59-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mednafen (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Mednafen is a command-line-oriented multi-system emulator whose official documentation covers console, handheld, CD, debugger, and netplay modules. It is packaged as a compact emulator core rather than a full frontend.

### 项目历史

The official Mednafen site dates its page design and original content to 2005, and the changelog shows a long sequence of releases from the 0.x series through modern 1.x releases. Its documentation lists emulation modules for systems including NES/Famicom, Game Boy, Game Boy Advance, PC Engine/TurboGrafx, PC-FX, PlayStation, Sega Saturn, Genesis/Mega Drive, Master System, Game Gear, SNES/Super Famicom, Lynx, Neo Geo Pocket, WonderSwan, Virtual Boy, and Apple II.

Over time, Mednafen accumulated features important to emulator users and packagers: compressed game loading, CD image handling, M3U multi-disc workflows, per-system configuration, save paths, screenshots, netplay, debugger documentation, and detailed per-module manuals.

### 采用历史

Mednafen is adopted by users who prefer a scriptable emulator backend and by frontends that want a reliable command-line emulator core. The package input lists it in Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, Scoop, Winget, and other packaging ecosystems, reflecting its role as a portable retro-gaming tool.

Its adoption is also tied to accuracy and breadth: the official docs expose many emulation modules and low-level configuration settings, making it attractive to users who want repeatable emulator launches rather than only a GUI experience.

### 使用方式

Users launch Mednafen from the command line with a game or disc image, then tune settings in `mednafen.cfg` under the base directory. The official documentation says the base directory is normally `~/.mednafen`, can be overridden with `MEDNAFEN_HOME`, and contains the primary configuration file.

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

Mednafen matters in package-manager culture because it is a frontend-friendly emulator core with extensive official documentation and a long release history. Its config and firmware-directory conventions are predictable, which makes it easy to package while leaving UI choices to wrappers and frontends.

### 时间线

- 2005: Mednafen site copyright and early release history establish the long-running project era.
- 2014: Mednafen-Server 0.5.2 is listed on the official releases page.
- 2021: Mednafen 1.27.1 is released.
- 2022: Mednafen 1.29.0 is released.
- 2024: Mednafen 1.32.1 is released.

### Related projects

- Mednafen relates to emulator frontends and to the many console modules it incorporates, including PC Engine, PlayStation, Saturn, SNES, NES, Game Boy, Genesis, and other retro systems.

### 来源

- <https://mednafen.github.io/documentation/>
- <https://mednafen.github.io/releases/>
- <https://mednafen.github.io/releases/ChangeLog>
- source_facts.package-manager


## 安全说明

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: ~/.mednafen/mednafen.cfg, $MEDNAFEN_HOME/mednafen.cfg
- Windows: mednafen.cfg in the mednafen.exe directory
## 其他软件包管理器记录

- Debian apt - mednafen - 1.32.1+dfsg-2+b1: normalized package name match | Debian stable package indexes: mednafen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multi-platform emulator, including NES, GB/A, Lynx, PC Engine | https://mednafen.github.io
- Nix - mednafen: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/mednafen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mednafen - 1.29.0+dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mednafen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multi-platform emulator, including NES, GB/A, Lynx, PC Engine | http://mednafen.github.io
- apk - mednafen - 1.32.1-r2: normalized package name match | Alpine Linux edge package indexes: mednafen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A command-line multi-system emulator | https://mednafen.github.io/
- apk - mednafen-lang - 1.32.1-r2: normalized package name match | Alpine Linux edge package indexes: mednafen-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package mednafen | https://mednafen.github.io/
- dnf - mednafen - 1.32.1-8.fc45: normalized package name match | Fedora Rawhide package metadata: mednafen from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A multi-system emulator utilizing OpenGL and SDL | https://mednafen.github.io/
- pacman - mednafen - 1.32.1-2: normalized package name match | Arch Linux sync databases: mednafen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line multi-system gaming emulator | https://mednafen.github.io
- zypper - mednafen - 1.32.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: mednafen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Multiple video game console emulator | https://mednafen.github.io
- zypper - mednafen-doc - 1.32.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: mednafen-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Additional Package Documentation | https://mednafen.github.io
- zypper - mednafen-lang - 1.32.1-1.8: normalized package name match | openSUSE Tumbleweed package metadata: mednafen-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package mednafen | https://mednafen.github.io
- MacPorts - mednafen: normalized package name match | MacPorts ports tree: emulators/mednafen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/mednafen: normalized package name match | Scoop official bucket manifest trees: bucket/mednafen.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - MednafenTeam.Mednafen: normalized package name match | Windows Package Manager source index: MednafenTeam.Mednafen from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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