# 使用 Homebrew, apk, Nix, apt, winget 安装 mgba

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

## 安装

```sh
sudo av install brew:mgba
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mgba
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mgba
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mgba
```

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

- Debian apt (92%):

```sh
sudo apt install libmgba-dev
```

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

### Windows

- winget (92%):

```sh
winget install --id JeffreyPfau.mGBA -e
```

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

## 软件包事实

- **软件包键:** brew:mgba
- **软件包管理器:** Homebrew
- **版本:** 0.10.5
- **来源摘要:** Game Boy Advance emulator
- **主页:** <https://mgba.io/>
- **仓库:** <https://github.com/mgba-emu/mgba>
- **最后更新:** 2026-06-18T02:28:59-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mGBA (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mGBA is an open-source Game Boy Advance emulator created by Vicki Pfau, also known as endrift. The official FAQ says the project started in April 2013 with the goal of running on lower-end hardware without giving up accuracy or portability, and the ten-year retrospective ties that history to the first commit in the mGBA repository. The project site identifies it as copyright 2013-2026 Vicki Pfau.

### 项目历史

Technically, mGBA set out to be faster and more accurate than many older GBA emulators while adding features they lacked. Its README and FAQ describe support not only for Game Boy Advance games but also Game Boy and Game Boy Color titles, with an emphasis on accuracy, portability, and practical extras. That combination made it useful both for players and for development/debugging workflows around Nintendo handheld software.

### 使用方式

Its adoption reaches beyond package managers. The project is distributed through its own site and GitHub, packaged by Homebrew and Linux distributions, and published for Windows through winget. It also appears inside other retro-gaming products and workflows: Wired's review of the Epilogue GB Operator notes that Epilogue Playback defaults to the mGBA emulator core while allowing users to select other cores. In package-manager terms, Homebrew's `mgba` formula gives macOS and Linux users a maintained route to the desktop emulator, while distro packages such as `libmgba-dev` expose the emulator library for software that embeds or integrates mGBA.

### 来源

- <https://formulae.brew.sh/formula/mgba>
- <https://github.com/mgba-emu/mgba>
- <https://mgba.io/>
- <https://mgba.io/2023/04/03/mgba-turns-ten/>
- <https://mgba.io/faq.html>
- <https://www.wired.com/review/epilogue-gb-operator>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - libmgba-dev - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: libmgba-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game Boy Advance emulator (development files) | https://mgba.io/
- Debian apt - libmgba0.10t64 - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: libmgba0.10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game Boy Advance emulator (common library for mGBA) | https://mgba.io/
- Debian apt - libretro-mgba - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: libretro-mgba from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Libretro wrapper for mGBA | https://mgba.io/
- Debian apt - mgba-common - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: mgba-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game Boy Advance emulator (common files for mGBA) | https://mgba.io/
- Debian apt - mgba-qt - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: mgba-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game Boy Advance emulator (Qt frontend for mGBA) | https://mgba.io/
- Debian apt - mgba-sdl - 0.10.5+dfsg-1: normalized package name match | Debian stable package indexes: mgba-sdl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game Boy Advance emulator (SDL frontend for mGBA) | https://mgba.io/
- Nix - mgba: normalized package name match | nixpkgs package indexes: pkgs/by-name/mg/mgba/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmgba-dev - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmgba-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game Boy Advance emulator (development files) | https://mgba.io/
- Ubuntu apt - libmgba0.10t64 - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmgba0.10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game Boy Advance emulator (common library for mGBA) | https://mgba.io/
- Ubuntu apt - libretro-mgba - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libretro-mgba from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Libretro wrapper for mGBA | https://mgba.io/
- Ubuntu apt - mgba-common - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mgba-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game Boy Advance emulator (common files for mGBA) | https://mgba.io/
- Ubuntu apt - mgba-qt - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mgba-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game Boy Advance emulator (Qt frontend for mGBA) | https://mgba.io/
- Ubuntu apt - mgba-sdl - 0.10.2+dfsg-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mgba-sdl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game Boy Advance emulator (SDL frontend for mGBA) | https://mgba.io/
- apk - libmgba - 0.10.5-r4: normalized package name match | Alpine Linux edge package indexes: libmgba from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Shared library of mGBA | https://mgba.io
- apk - libmgba-dev - 0.10.5-r4: normalized package name match | Alpine Linux edge package indexes: libmgba-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Game Boy Advance Emulator (development files) | https://mgba.io
- apk - mgba - 0.10.5-r4: normalized package name match | Alpine Linux edge package indexes: mgba from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Game Boy Advance Emulator | https://mgba.io


## Combined YAML source

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