# Output will look similar to this > resolving dependencies... > looking for conflicting packages..> Packages (41) edk2-aarch64-202302-1 .... > ... > qemu-full-8.0.0-1 > > Total Download Size: 105.25 MiB > Total Installed Size: 785.45 MiB > > :: Proceed with installation? [Y/n] y
第 3 步 — 继续 并等待 完成ypacman
# Grab some coffee or an energy drink in the mean time >.<
第 4 步 — 检查是否 已安装qemu-full
$ qemu-img --version
# Output will look like this > qemu-img version 8.0.0 > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers$ qemu-system-x86_64 --version# Output will look like this > QEMU emulator version 8.0.0 > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers$ qemu-aarch64 --version# Output will look like this > qemu-aarch64 version 8.0.0 > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
# Output will look like this > Get:1 http://us.archive.ubuntu,com/ubuntu... > ... > Get:15 http://us.archive.ubuntu.com/ubuntu... > Fetched 3.300 kB in 3s (1.297 kb/s) > Reading package lists... Done > ... > All packages are up to date.
第 2 步 — 安装 和 软件包qemu-systemqemu-userqemu-utils
$ apt install qemu-system qemu-user qemu-utils
# Output will look similar to this > ... > The following NEW packages will be installed: > ibverbs-providers ipxe-qemu ... > ... > qemu-system-x86 qemu-user qemu-utils seabios > 0 upgraded 44 newly installed, ... > Need to get 122 MB of archives. > After this operation 880 MB of additional disk space will be used. > Do you want to continue [Y/n] y
第 3 步 — 继续 并等待 完成yapt
# Grab some coffee or an energy drink in the mean time >.<
第 4 步 — 检查是否 安装了 和 qemu-systemqemu-userqemu-utils
$ qemu-img --version
# Output will look like this > qemu-img version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.8) > Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers$ qemu-system-x86_64 --version# Output will look like this > QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.8) > Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers$ qemu-aarch64 --version# Output will look like this > qemu-aarch64 version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.8) > Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
从根本上说,有两种方法可以在 Windows 平台上“本机”安装 QEMU:或 .我们将使用后者,因为它更容易、更直接。MSYS2Installers
由 Stefan Weil 18 提供binaries/installers
第 1 步 — 从 QEMU 的文件服务器 下载 对于 Windows 32 位:https://qemu.weilnetz.de/w32 对于 Windows 64 位:https://qemu.weilnetz.de/w64 或者(两者):https://www.qemu.org/download/#windowsInstaller
我们正在寻找的文件如下所示:qemu-w64-setup-20230424.exe
第 2 步 — 按照设置向导进行操作
只需按照 .确保在安装时选择所有组件。Installer
另外,不要忘记安装位置!我们将在下一步中使用它。
# Your selected components should look like this > [X] QEMU > [X] Tools > [X] System emulation > [X] Desktop icons > [X] DLL Library > [X] Documentation > [X] Program Group
# Output will look like this > qemu-img version 8.0.0 (v8.0.0-12024-gd6b71850be-dirty) > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers$ qemu-system-x86_64.exe --version# Output will look like this > QEMU emulator version 8.0.0 (v8.0.0-12024-gd6b71850be-dirty) > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
# Output will look like this > qemu-img version 8.0.0 > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers$ qemu-system-aarch64 --version# Output will look like this > QEMU emulator version 8.0.0 > Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
评论