qemu-system-x86_64: command not found

Quick Emulator (QEMU) is the main component of the QEMU/KVM virtualization technology suit. It provides hardware virtualization and processor emulation. QEMU runs in userspace and, without the need for kernel, drivers can still provide fast system emulation. QEMU supports two operating modes:

  • Full system emulation, where QEMU emulates an entire computer system, including the CPU type and peripherals
  • User mode emulation, where QEMU can run a process that has been compiled on a different CPU architecture natively

QEMU is a machine emulator. It comes in a number of different flavors, each of which can emulate a processor architecture and a number of boards built using that architecture. For example, we have the following:

  • qemu-system-arm: ARM
  • qemu-system-mips: MIPS
  • qemu-system-ppc: PowerPC
  • qemu-system-x86: x86 and x86_64

For each architecture, QEMU emulates a range of hardware, which you can see by using the option—machine help. Each machine emulates most of the hardware that would normally be found on that board. There are options to link hardware to local resources, such as using a local file for the emulated disk drive.

In case you encounter below error:

qemu-system-x86_64: command not found

you may try installing below package as per your choice of distribution.

Distribution Command
Debian apt-get install qemu-system-x86
Ubuntu apt-get install qemu-system-x86
Arch Linux pacman -S qemu-headless
Kali Linux apt-get install qemu-system-x86
Fedora dnf install qemu-system-x86-core-2
Raspbian apt-get install qemu-system-x86
Related Post