kvm-ok command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kvm-ok: command not found
or when using sudo you get the following error message
sudo: kvm-ok: command not found
Solutions to kvm-ok: command not found
How To Fix kvm-ok: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kvm-ok is provided by cpu-checker package.
cpu-checker is:
There are some CPU features that are filtered or disabled by system BIOSes. This set of tools seeks to help identify when certain features are in this state, based on kernel values, CPU flags and other conditions. Supported feature tests are NX/XD and VMX/SVM.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cpu-checker
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cpu-checker.
sudo apt -y install cpu-checker
Or if you have aptitude installed you can use the following command.
sudo aptitude install cpu-checker
Summary
In this tutorial we learn how to fix kvm-ok command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.