virt-qemu-run command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
virt-qemu-run: command not found
or when using sudo you get the following error message
sudo: virt-qemu-run: command not found
Solutions to virt-qemu-run: command not found
How To Fix virt-qemu-run: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu virt-qemu-run is provided by libvirt-daemon-driver-qemu package.
libvirt-daemon-driver-qemu is:
Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
This package contains the libvirtd connection driver for QEMU.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libvirt-daemon-driver-qemu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libvirt-daemon-driver-qemu.
sudo apt -y install libvirt-daemon-driver-qemu
Or if you have aptitude installed you can use the following command.
sudo aptitude install libvirt-daemon-driver-qemu
Summary
In this tutorial we learn how to fix virt-qemu-run command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.