Homebrew,-bash:qemu:找不到命令 OSX El Capitan

use*_*647 6 bash terminal homebrew qemu path

我正在尝试在我的 Mac 上安装 qemu。我用的是Homebrew,看起来已经安装成功了。

\n\n
==> Installing qemu\n==> Downloading https://homebrew.bintray.com/bottles/qemu-2.6.0.el_capitan.bottle.tar.gz\n######################################################################## 100.0%\n==> Pouring qemu-2.6.0.el_capitan.bottle.tar.gz\n  /usr/local/Cellar/qemu/2.6.0: 123 files, 127.4M\n
Run Code Online (Sandbox Code Playgroud)\n\n

但是当我尝试使用它时,我有:

\n\n
-bash: qemu: command not found\n
Run Code Online (Sandbox Code Playgroud)\n\n

的输出ls /usr/local/Cellar/qemu/2.6.0/bin是:

\n\n
| \xe2\x88\xae -> ls /usr/local/Cellar/qemu/2.6.0/bin\nivshmem-client          qemu-system-aarch64     qemu-system-lm32        qemu-system-mips64      qemu-system-ppc         qemu-system-sh4eb       qemu-system-x86_64\nivshmem-server          qemu-system-alpha       qemu-system-m68k        qemu-system-mips64el        qemu-system-ppc64       qemu-system-sparc       qemu-system-xtensa\nqemu-img            qemu-system-arm         qemu-system-microblaze      qemu-system-mipsel      qemu-system-ppcemb      qemu-system-sparc64     qemu-system-xtensaeb\nqemu-io             qemu-system-cris        qemu-system-microblazeel    qemu-system-moxie       qemu-system-s390x       qemu-system-tricore\nqemu-nbd            qemu-system-i386        qemu-system-mips        qemu-system-or32        qemu-system-sh4         qemu-system-unicore32\n
Run Code Online (Sandbox Code Playgroud)\n\n

我现在的问题是 qemu 文件丢失。我仍然想知道为什么以及如何解决它

\n\n

先感谢您。

\n

Lut*_*sco 7

呃...QEMU 没有任何名为 的二进制文件qemu。相反,您可以使用任何qemu-system-xxxx二进制文件来虚拟化该系统。

文档(何时使用每个系统和内容)可在以下位置找到:http://wiki.qemu.org/Documentation

因此,公式名称不一定与二进制名称匹配。我想你知道这一点,但我提一下以防万一。

请随时与我们分享您遇到的任何问题!