How To Install qemu-sanity-check on Fedora 36
Introduction
In this tutorial we learn how to install qemu-sanity-check
on Fedora 36.
What is qemu-sanity-check
Qemu-sanity-check is a short shell script that test-boots a Linux kernel under qemu, making sure it boots up to userspace. The idea is to test the Linux kernel and/or qemu to make sure they are working. Most users should install the qemu-sanity-check package. If you are testing qemu or the kernel in those packages and you want to avoid a circular dependency on qemu or kernel, you should use ‘BuildRequires
We can use yum
or dnf
to install qemu-sanity-check
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install qemu-sanity-check.
Install qemu-sanity-check on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install qemu-sanity-check
using dnf
by running the following command:
sudo dnf -y install qemu-sanity-check
Install qemu-sanity-check on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install qemu-sanity-check
using yum
by running the following command:
sudo yum -y install qemu-sanity-check
How To Uninstall qemu-sanity-check on Fedora 36
To uninstall only the qemu-sanity-check
package we can use the following command:
sudo dnf remove qemu-sanity-check
qemu-sanity-check Package Contents on Fedora 36
/usr/share/doc/qemu-sanity-check
/usr/share/doc/qemu-sanity-check/COPYING
References
Summary
In this tutorial we learn how to install qemu-sanity-check
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).