How To Install dkms.noarch on Amazon Linux 2
In this tutorial we learn how to install dkms.noarch in Amazon Linux 2. dkms.noarch is Dynamic Kernel Module Support Framework
Introduction
In this tutorial we learn how to install dkms.noarch on Amazon Linux 2.
What is dkms.noarch
This package contains the framework for the Dynamic Kernel Module Support (DKMS) method for installing module RPMS as originally developed by Dell.
We can use yum to install dkms.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dkms.noarch.
Install dkms.noarch 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 dkms.noarch using yum by running the following command:
sudo yum -y install dkms.noarch
How To Uninstall dkms.noarch on Amazon Linux 2
To uninstall only the dkms.noarch package we can use the following command:
sudo yum remove dkms.noarch
dkms.noarch Package Contents on Amazon Linux 2
/etc/bash_completion.d/dkms
/etc/dkms
/etc/dkms/framework.conf
/etc/dkms/template-dkms-mkrpm.spec
/etc/dkms/template-dkms-redhat-kmod.spec
/etc/kernel/postinst.d/dkms
/etc/kernel/prerm.d/dkms
/usr/lib/dkms
/usr/lib/dkms/common.postinst
/usr/lib/dkms/dkms_autoinstaller
/usr/lib/dkms/find-provides
/usr/lib/dkms/lsb_release
/usr/lib/dkms/mkkerneldoth
/usr/lib/systemd/system/dkms.service
/usr/sbin/dkms
/usr/share/doc/dkms-2.6.1
/usr/share/doc/dkms-2.6.1/AUTHORS
/usr/share/doc/dkms-2.6.1/README.md
/usr/share/doc/dkms-2.6.1/sample.conf
/usr/share/doc/dkms-2.6.1/sample.spec
/usr/share/licenses/dkms-2.6.1
/usr/share/licenses/dkms-2.6.1/COPYING
/usr/share/man/man8/dkms.8.gz
/var/lib/dkms
/var/lib/dkms/dkms_dbversion
References
Summary
In this tutorial we learn how to install dkms.noarch on Amazon Linux 2 using yum.