我试图在我的mac上安装qemu。我使用了Homebrew,它似乎已成功安装。
==> Installing qemu
==> Downloading https://homebrew.bintray.com/bottles/qemu-2.6.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring qemu-2.6.0.el_capitan.bottle.tar.gz
/usr/local/Cellar/qemu/2.6.0: 123 files, 127.4M
但是当我尝试使用它时,我有:
-bash: qemu: command not found
ls /usr/local/Cellar/qemu/2.6.0/bin
的输出是:
| ∮ -> ls /usr/local/Cellar/qemu/2.6.0/bin
ivshmem-client qemu-system-aarch64 qemu-system-lm32 qemu-system-mips64 qemu-system-ppc qemu-system-sh4eb qemu-system-x86_64
ivshmem-server qemu-system-alpha qemu-system-m68k qemu-system-mips64el qemu-system-ppc64 qemu-system-sparc qemu-system-xtensa
qemu-img qemu-system-arm qemu-system-microblaze qemu-system-mipsel qemu-system-ppcemb qemu-system-sparc64 qemu-system-xtensaeb
qemu-io qemu-system-cris qemu-system-microblazeel qemu-system-moxie qemu-system-s390x qemu-system-tricore
qemu-nbd qemu-system-i386 qemu-system-mips qemu-system-or32 qemu-system-sh4 qemu-system-unicore32
我现在问题是qemu文件丢失了。我仍然想知道为什么以及如何解决它
提前谢谢。
答案 0 :(得分:2)
嗯... QEMU没有任何名为qemu
的二进制文件。相反,您可以使用任何qemu-system-xxxx
二进制文件来虚拟化该系统。
文档(何时使用每个系统和内容)位于:http://wiki.qemu.org/Documentation
因此,公式名称不一定与二进制名称匹配。我想你知道这一点,但我提到以防万一。
随时与我们分享您遇到的任何问题!
答案 1 :(得分:0)
只需添加Lutarisco的答案:检查其安装是否正确:
$ qemu-system-arm --version
QEMU emulator version 4.0.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers