imvirt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
imvirt: command not found
or when using sudo you get the following error message
sudo: imvirt: command not found
Solutions to imvirt: command not found
How To Fix imvirt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu imvirt is provided by imvirt package.
imvirt is:
This Perl script tries to detect if it is run in a virtualization container.
In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized)
And much more.
To fix this problem, we can install more using the command below.
sudo apt-get -y install imvirt
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install imvirt.
sudo apt -y install imvirt
Or if you have aptitude installed you can use the following command.
sudo aptitude install imvirt
Summary
In this tutorial we learn how to fix imvirt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.