How To Install mokutil.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mokutil.x86_64 in Amazon Linux 2. mokutil.x86_64 is Tool to manage UEFI Secure Boot MoK Keys

Introduction

In this tutorial we learn how to install mokutil.x86_64 on Amazon Linux 2.

What is mokutil.x86_64

mokutil provides a tool to manage keys for Secure Boot through the MoK (“Machine’s Own Keys”) mechanism.

We can use yum to install mokutil.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mokutil.x86_64.

Install mokutil.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 mokutil.x86_64 using yum by running the following command:

sudo yum -y install mokutil.x86_64

How To Uninstall mokutil.x86_64 on Amazon Linux 2

To uninstall only the mokutil.x86_64 package we can use the following command:

sudo yum remove mokutil.x86_64

mokutil.x86_64 Package Contents on Amazon Linux 2

/usr/bin/mokutil
/usr/share/bash-completion/completions/mokutil
/usr/share/doc/mokutil-0.3.0
/usr/share/doc/mokutil-0.3.0/README
/usr/share/licenses/mokutil-0.3.0
/usr/share/licenses/mokutil-0.3.0/COPYING
/usr/share/man/man1/mokutil.1.gz

References

Summary

In this tutorial we learn how to install mokutil.x86_64 on Amazon Linux 2 using yum.