How To Install ndctl-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ndctl-devel.x86_64 in Amazon Linux 2. ndctl-devel.x86_64 is Development files for libndctl

Introduction

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

What is ndctl-devel.x86_64

The ndctl-devel package contains libraries and header files for developing applications that use ndctl.

We can use yum to install ndctl-devel.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-devel.x86_64.

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

sudo yum -y install ndctl-devel.x86_64

How To Uninstall ndctl-devel.x86_64 on Amazon Linux 2

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

sudo yum remove ndctl-devel.x86_64

ndctl-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/ndctl
/usr/include/ndctl/libdaxctl.h
/usr/include/ndctl/libndctl.h
/usr/include/ndctl/ndctl.h
/usr/lib64/libndctl.so
/usr/lib64/pkgconfig/libndctl.pc
/usr/share/licenses/ndctl-devel-64.1
/usr/share/licenses/ndctl-devel-64.1/COPYING

References

Summary

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