How To Install ndctl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ndctl.x86_64 in Amazon Linux 2. ndctl.x86_64 is Manage “libnvdimm” subsystem devices (Non-volatile Memory)

Introduction

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

What is ndctl.x86_64

Utility library for managing the “libnvdimm” subsystem. The “libnvdimm” subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM Firmware Interface Table).

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

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

sudo yum -y install ndctl.x86_64

How To Uninstall ndctl.x86_64 on Amazon Linux 2

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

sudo yum remove ndctl.x86_64

ndctl.x86_64 Package Contents on Amazon Linux 2

/etc/dracut.conf.d/nvdimm-security.conf
/etc/modprobe.d/nvdimm-security.conf
/etc/ndctl/keys/keys.readme
/etc/ndctl/monitor.conf
/usr/bin/ndctl
/usr/lib/systemd/system/ndctl-monitor.service
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/ndctl
/usr/share/licenses/ndctl-64.1
/usr/share/licenses/ndctl-64.1/BSD-MIT
/usr/share/licenses/ndctl-64.1/CC0
/usr/share/licenses/ndctl-64.1/COPYING
/usr/share/man/man1/ndctl-check-labels.1.gz
/usr/share/man/man1/ndctl-check-namespace.1.gz
/usr/share/man/man1/ndctl-create-namespace.1.gz
/usr/share/man/man1/ndctl-destroy-namespace.1.gz
/usr/share/man/man1/ndctl-disable-dimm.1.gz
/usr/share/man/man1/ndctl-disable-namespace.1.gz
/usr/share/man/man1/ndctl-disable-region.1.gz
/usr/share/man/man1/ndctl-enable-dimm.1.gz
/usr/share/man/man1/ndctl-enable-namespace.1.gz
/usr/share/man/man1/ndctl-enable-region.1.gz
/usr/share/man/man1/ndctl-freeze-security.1.gz
/usr/share/man/man1/ndctl-init-labels.1.gz
/usr/share/man/man1/ndctl-inject-error.1.gz
/usr/share/man/man1/ndctl-inject-smart.1.gz
/usr/share/man/man1/ndctl-list.1.gz
/usr/share/man/man1/ndctl-load-keys.1.gz
/usr/share/man/man1/ndctl-monitor.1.gz
/usr/share/man/man1/ndctl-read-labels.1.gz
/usr/share/man/man1/ndctl-remove-passphrase.1.gz
/usr/share/man/man1/ndctl-sanitize-dimm.1.gz
/usr/share/man/man1/ndctl-setup-passphrase.1.gz
/usr/share/man/man1/ndctl-start-scrub.1.gz
/usr/share/man/man1/ndctl-update-firmware.1.gz
/usr/share/man/man1/ndctl-update-passphrase.1.gz
/usr/share/man/man1/ndctl-wait-overwrite.1.gz
/usr/share/man/man1/ndctl-wait-scrub.1.gz
/usr/share/man/man1/ndctl-write-labels.1.gz
/usr/share/man/man1/ndctl-zero-labels.1.gz
/usr/share/man/man1/ndctl.1.gz

References

Summary

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