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

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

## 安装

```sh
sudo av install brew:qemu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install qemu
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install qemu
```

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

### Linux

- apk (92%):

```sh
sudo apk add qemu
```

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

- dnf (92%):

```sh
sudo dnf install qemu
```

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

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

- zypper (92%):

```sh
sudo zypper install qemu
```

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

- Debian apt (92%):

```sh
sudo apt install qemu-block-extra
```

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

- pacman (92%):

```sh
sudo pacman -S qemu-img
```

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

### Windows

- Chocolatey (92%):

```sh
choco install Qemu
```

  证据: Chocolatey community package catalog: Qemu from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','python.pypy'

- Scoop (92%):

```sh
scoop install main/qemu
```

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

- winget (92%):

```sh
winget install --id SoftwareFreedomConservancy.QEMU -e
```

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

## 软件包事实

- **软件包键:** brew:qemu
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/qemu>
- **版本:** 11.0.3
- **来源摘要:** Generic machine emulator and virtualizer
- **主页:** <https://www.qemu.org/>
- **上游文档:** <https://www.qemu.org/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://download.qemu.org/qemu-11.0.3.tar.xz>
- **最后更新:** 2026-07-25T12:26:26Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- qemu-aarch64 (cli)
- qemu-aarch64_be (cli)
- qemu-alpha (cli)
- qemu-arm (cli)
- qemu-armeb (cli)
- qemu-edid (cli)
- qemu-hexagon (cli)
- qemu-hppa (cli)
- qemu-i386 (cli)
- qemu-img (cli)
- qemu-io (cli)
- qemu-keymap (cli)
- qemu-loongarch64 (cli)
- qemu-m68k (cli)
- qemu-microblaze (cli)
- qemu-microblazeel (cli)
- qemu-mips (cli)
- qemu-mips64 (cli)
- qemu-mips64el (cli)
- qemu-mipsel (cli)
- qemu-mipsn32 (cli)
- qemu-mipsn32el (cli)
- qemu-nbd (cli)
- qemu-or1k (cli)
- qemu-ppc (cli)
- qemu-ppc64 (cli)
- qemu-ppc64le (cli)
- qemu-pr-helper (cli)
- qemu-riscv32 (cli)
- qemu-riscv64 (cli)
- qemu-s390x (cli)
- qemu-sh4 (cli)
- qemu-sh4eb (cli)
- qemu-sparc (cli)
- qemu-sparc32plus (cli)
- qemu-sparc64 (cli)
- qemu-storage-daemon (cli)
- qemu-system-aarch64 (cli)
- qemu-system-alpha (cli)
- qemu-system-arm (cli)
- qemu-system-avr (cli)
- qemu-system-hppa (cli)
- qemu-system-i386 (cli)
- qemu-system-loongarch64 (cli)
- qemu-system-m68k (cli)
- qemu-system-microblaze (cli)
- qemu-system-mips (cli)
- qemu-system-mips64 (cli)
- qemu-system-mips64el (cli)
- qemu-system-mipsel (cli)
- qemu-system-or1k (cli)
- qemu-system-ppc (cli)
- qemu-system-ppc64 (cli)
- qemu-system-riscv32 (cli)
- qemu-system-riscv64 (cli)
- qemu-system-rx (cli)
- qemu-system-s390x (cli)
- qemu-system-sh4 (cli)
- qemu-system-sh4eb (cli)
- qemu-system-sparc (cli)
- qemu-system-sparc64 (cli)
- qemu-system-tricore (cli)
- qemu-system-x86_64 (cli)
- qemu-system-xtensa (cli)
- qemu-system-xtensaeb (cli)
- qemu-x86_64 (cli)
- qemu-xtensa (cli)
- qemu-xtensaeb (cli)
- qemu-aarch64 (别名)
- qemu-aarch64_be (别名)
- qemu-alpha (别名)
- qemu-arm (别名)
- qemu-armeb (别名)
- qemu-edid (别名)
- qemu-hexagon (别名)
- qemu-hppa (别名)
- qemu-i386 (别名)
- qemu-img (别名)
- qemu-io (别名)
- qemu-keymap (别名)
- qemu-loongarch64 (别名)
- qemu-m68k (别名)
- qemu-microblaze (别名)
- qemu-microblazeel (别名)
- qemu-mips (别名)
- qemu-mips64 (别名)
- qemu-mips64el (别名)
- qemu-mipsel (别名)
- qemu-mipsn32 (别名)
- qemu-mipsn32el (别名)
- qemu-nbd (别名)
- qemu-or1k (别名)
- qemu-ppc (别名)
- qemu-ppc64 (别名)
- qemu-ppc64le (别名)
- qemu-pr-helper (别名)
- qemu-riscv32 (别名)
- qemu-riscv64 (别名)
- qemu-s390x (别名)
- qemu-sh4 (别名)
- qemu-sh4eb (别名)
- qemu-sparc (别名)
- qemu-sparc32plus (别名)
- qemu-sparc64 (别名)
- qemu-storage-daemon (别名)
- qemu-system-aarch64 (别名)
- qemu-system-alpha (别名)
- qemu-system-arm (别名)
- qemu-system-avr (别名)
- qemu-system-hppa (别名)
- qemu-system-i386 (别名)
- qemu-system-loongarch64 (别名)
- qemu-system-m68k (别名)
- qemu-system-microblaze (别名)
- qemu-system-mips (别名)
- qemu-system-mips64 (别名)
- qemu-system-mips64el (别名)
- qemu-system-mipsel (别名)
- qemu-system-or1k (别名)
- qemu-system-ppc (别名)
- qemu-system-ppc64 (别名)
- qemu-system-riscv32 (别名)
- qemu-system-riscv64 (别名)
- qemu-system-rx (别名)
- qemu-system-s390x (别名)
- qemu-system-sh4 (别名)
- qemu-system-sh4eb (别名)
- qemu-system-sparc (别名)
- qemu-system-sparc64 (别名)
- qemu-system-tricore (别名)
- qemu-system-x86_64 (别名)
- qemu-system-xtensa (别名)
- qemu-system-xtensaeb (别名)
- qemu-x86_64 (别名)
- qemu-xtensa (别名)
- qemu-xtensaeb (别名)

## 依赖

- capstone
- dtc
- glib
- gnutls
- jpeg-turbo
- libpng
- libslirp
- libssh
- libusb
- lzo
- ncurses
- pixman
- snappy
- vde
- zstd

## 构建依赖

- libtool
- meson
- ninja
- pkgconf
- python-setuptools
- python@3.14
- spice-protocol

## macOS 提供的库

- bzip2

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 11.0.3
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://www.qemu.org/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** qemu
- **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

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

- Debian apt - qemu-block-extra - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-block-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extra block backend modules for qemu-system and qemu-utils | http://www.qemu.org/
- Debian apt - qemu-guest-agent - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-guest-agent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Guest-side qemu-system agent | http://www.qemu.org/
- Debian apt - qemu-system - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries | http://www.qemu.org/
- Debian apt - qemu-system-arm - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-arm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (arm) | http://www.qemu.org/
- Debian apt - qemu-system-common - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (common files) | http://www.qemu.org/
- Debian apt - qemu-system-data - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation (data files) | http://www.qemu.org/
- Debian apt - qemu-system-gui - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (graphical display and audio modules) | http://www.qemu.org/
- Debian apt - qemu-system-mips - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-mips from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (mips) | http://www.qemu.org/
- Debian apt - qemu-system-misc - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-misc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (miscellaneous) | http://www.qemu.org/
- Debian apt - qemu-system-modules-opengl - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-modules-opengl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (OpenGL display modules) | http://www.qemu.org/
- Debian apt - qemu-system-modules-spice - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-modules-spice from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (spice display modules) | http://www.qemu.org/
- Debian apt - qemu-system-ppc - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-ppc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (ppc) | http://www.qemu.org/
- Debian apt - qemu-system-riscv - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-riscv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (riscv) | http://www.qemu.org/
- Debian apt - qemu-system-s390x - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-s390x from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (s390x) | http://www.qemu.org/
- Debian apt - qemu-system-sparc - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-sparc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (sparc) | http://www.qemu.org/
- Debian apt - qemu-system-x86 - 1:10.0.11+ds-0+deb13u1: normalized package name match | Debian stable package indexes: qemu-system-x86 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | QEMU full system emulation binaries (x86) | http://www.qemu.org/


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [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.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [ncurses](https://pkg.so/zh-hans/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Build dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [macpine](https://pkg.so/zh-hans/brew/macpine/) - Popular package that depends on this formula.
- [libosinfo](https://pkg.so/zh-hans/brew/libosinfo/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lume](https://pkg.so/zh-hans/brew/lume/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [osinfo-db-tools](https://pkg.so/zh-hans/brew/osinfo-db-tools/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [nemu](https://pkg.so/zh-hans/brew/nemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [open-simh](https://pkg.so/zh-hans/brew/open-simh/) - Shares pkgdb curated category or tags: cli, emulation, emulator, system.
- [rvvm](https://pkg.so/zh-hans/brew/rvvm/) - Shares pkgdb curated category or tags: cli, emulator, system, virtualization.
- [dps8m](https://pkg.so/zh-hans/brew/dps8m/) - Shares pkgdb curated category or tags: cli, emulation, emulator, system.
- [lima](https://pkg.so/zh-hans/brew/lima/) - Shares pkgdb curated category or tags: cli, system, virtualization.

## Combined YAML source

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


## 来源

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