How To Install kmod.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install kmod.x86_64
on Amazon Linux 2.
What is kmod.x86_64
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
to install kmod.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install kmod.x86_64.
Install kmod.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install kmod.x86_64
using yum
by running the following command:
sudo yum -y install kmod.x86_64
How To Uninstall kmod.x86_64 on Amazon Linux 2
To uninstall only the kmod.x86_64
package we can use the following command:
sudo yum remove kmod.x86_64
kmod.x86_64 Package Contents on Amazon Linux 2
/etc/depmod.d
/etc/modprobe.d
/usr/bin/kmod
/usr/lib/modprobe.d
/usr/sbin/depmod
/usr/sbin/insmod
/usr/sbin/lsmod
/usr/sbin/modinfo
/usr/sbin/modprobe
/usr/sbin/rmmod
/usr/sbin/weak-modules
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/kmod
/usr/share/doc/kmod-25
/usr/share/doc/kmod-25/NEWS
/usr/share/doc/kmod-25/README
/usr/share/doc/kmod-25/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.x86_64
on Amazon Linux 2 using yum.