How To Install yum-plugin-dkms-build-requires.noarch on Amazon Linux 2

In this tutorial we learn how to install yum-plugin-dkms-build-requires.noarch in Amazon Linux 2. yum-plugin-dkms-build-requires.noarch is Yum plugin for enforcing module build compatibility for dkms

Introduction

In this tutorial we learn how to install yum-plugin-dkms-build-requires.noarch on Amazon Linux 2.

What is yum-plugin-dkms-build-requires.noarch

yum-plugin-dkms-build-requires inspects yum transactions and checks that dependencies to build modules against new kernels being installed are satisfied.

We can use yum to install yum-plugin-dkms-build-requires.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yum-plugin-dkms-build-requires.noarch.

Install yum-plugin-dkms-build-requires.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 yum-plugin-dkms-build-requires.noarch using yum by running the following command:

sudo yum -y install yum-plugin-dkms-build-requires.noarch

How To Uninstall yum-plugin-dkms-build-requires.noarch on Amazon Linux 2

To uninstall only the yum-plugin-dkms-build-requires.noarch package we can use the following command:

sudo yum remove yum-plugin-dkms-build-requires.noarch

yum-plugin-dkms-build-requires.noarch Package Contents on Amazon Linux 2

/etc/yum/pluginconf.d/dkms-build-requires.conf
/usr/lib/yum-plugins/dkms-build-requires.py
/usr/lib/yum-plugins/dkms-build-requires.pyc
/usr/lib/yum-plugins/dkms-build-requires.pyo

References

Summary

In this tutorial we learn how to install yum-plugin-dkms-build-requires.noarch on Amazon Linux 2 using yum.