How To Install kmod on Fedora 36
Introduction
In this tutorial we learn how to install kmod
on Fedora 36.
What is kmod
The kmod package provides various programs needed for automatic loading and unloading of modules under 2.6, 3.x, and later kernels, as well as other module management programs. Device drivers and filesystems are two examples of loaded and unloaded modules.
We can use yum
or dnf
to install kmod
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install kmod.
Install kmod 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 kmod
using dnf
by running the following command:
sudo dnf -y install kmod
Install kmod 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 kmod
using yum
by running the following command:
sudo yum -y install kmod
How To Uninstall kmod on Fedora 36
To uninstall only the kmod
package we can use the following command:
sudo dnf remove kmod
kmod Package Contents on Fedora 36
/etc/depmod.d
/etc/modprobe.d
/usr/bin/kmod
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/60c411779a9ad86dec38ff6e75d143362735c0
/usr/lib/modprobe.d
/usr/sbin/depmod
/usr/sbin/insmod
/usr/sbin/lsmod
/usr/sbin/modinfo
/usr/sbin/modprobe
/usr/sbin/rmmod
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/kmod
/usr/share/doc/kmod
/usr/share/doc/kmod/NEWS
/usr/share/doc/kmod/README
/usr/share/doc/kmod/TODO
/usr/share/man/man5/depmod.d.5.gz
/usr/share/man/man5/modprobe.conf.5.gz
/usr/share/man/man5/modprobe.d.5.gz
/usr/share/man/man5/modules.dep.5.gz
/usr/share/man/man5/modules.dep.bin.5.gz
/usr/share/man/man8/depmod.8.gz
/usr/share/man/man8/insmod.8.gz
/usr/share/man/man8/kmod.8.gz
/usr/share/man/man8/lsmod.8.gz
/usr/share/man/man8/modinfo.8.gz
/usr/share/man/man8/modprobe.8.gz
/usr/share/man/man8/rmmod.8.gz
References
Summary
In this tutorial we learn how to install kmod
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).