How To Install microcode_ctl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install microcode_ctl.x86_64 in Amazon Linux 2. microcode_ctl.x86_64 is Tool to transform and deploy CPU microcode update for x86.

Introduction

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

What is microcode_ctl.x86_64

The microcode_ctl utility is a companion to the microcode driver written by Tigran Aivazian [email protected]. The microcode update is volatile and needs to be uploaded on each system boot i.e. it doesn’t reflash your cpu permanently, reboot and it reverts back to the old microcode.

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

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

sudo yum -y install microcode_ctl.x86_64

How To Uninstall microcode_ctl.x86_64 on Amazon Linux 2

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

sudo yum remove microcode_ctl.x86_64

microcode_ctl.x86_64 Package Contents on Amazon Linux 2

/lib/firmware/intel-ucode
/usr/lib/dracut/dracut.conf.d/01-microcode.conf
/usr/lib/dracut/dracut.conf.d/01-microcode_module.conf
/usr/lib/dracut/modules.d/99microcode_ctl-fw_dir_override
/usr/lib/dracut/modules.d/99microcode_ctl-fw_dir_override/module-setup.sh
/usr/lib/systemd/system/microcode.service
/usr/libexec/microcode_ctl
/usr/libexec/microcode_ctl/check_caveats
/usr/libexec/microcode_ctl/reload_microcode
/usr/libexec/microcode_ctl/update_ucode
/usr/sbin/intel-microcode2ucode
/usr/share/doc/microcode_ctl/LICENSE.intel-ucode
/usr/share/doc/microcode_ctl/README
/usr/share/doc/microcode_ctl/README.caveats
/usr/share/man/man8/intel-microcode2ucode.8.gz
/usr/share/microcode_ctl
/usr/share/microcode_ctl/intel-ucode
/usr/share/microcode_ctl/ucode_with_caveats
/usr/share/microcode_ctl/ucode_with_caveats/intel
/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01
/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/config
/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/intel-ucode
/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/intel-ucode/06-4f-01
/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01/readme
/usr/share/microcode_ctl/ucode_with_caveats/intel/config
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-1a-05
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-2c-02
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-2d-06
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-2d-07
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-3e-04
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-3f-02
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-3f-04
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-55-04
/usr/share/microcode_ctl/ucode_with_caveats/intel/intel-ucode/06-55-07
/usr/share/microcode_ctl/ucode_with_caveats/intel/readme

References

Summary

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