qemu-system-or1k command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
qemu-system-or1k: command not found
or when using sudo you get the following error message
sudo: qemu-system-or1k: command not found
Solutions to qemu-system-or1k: command not found
How To Fix qemu-system-or1k: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu qemu-system-or1k is provided by qemu-system-misc package.
qemu-system-misc is:
QEMU is a fast processor emulator: currently the package supports ARM, CRIS, M68k (ColdFire), MicroBlaze, and SH4 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs.
This package provides the full system emulation binaries to emulate various other hardware which did not made into separate packages. Emulators for the following architectures are provided: alpha avr cris hppa m68k microblaze microblazeel nios2 or1k riscv32 riscv64 rx sh4 sh4eb tricore xtensa xtensaeb.
In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server.
To fix this problem, we can install more using the command below.
sudo apt-get -y install qemu-system-misc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install qemu-system-misc.
sudo apt -y install qemu-system-misc
Or if you have aptitude installed you can use the following command.
sudo aptitude install qemu-system-misc
Summary
In this tutorial we learn how to fix qemu-system-or1k command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.