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

In this tutorial we learn how to install dmraid-devel.x86_64 in Amazon Linux 2. dmraid-devel.x86_64 is Development libraries and headers for dmraid.

Introduction

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

What is dmraid-devel.x86_64

dmraid-devel provides a library interface for RAID device discovery, RAID set activation and display of properties for ATARAID volumes.

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

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

sudo yum -y install dmraid-devel.x86_64

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

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

sudo yum remove dmraid-devel.x86_64

dmraid-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/dmraid
/usr/include/dmraid/display.h
/usr/include/dmraid/dmraid.h
/usr/include/dmraid/dmreg.h
/usr/include/dmraid/format.h
/usr/include/dmraid/lib_context.h
/usr/include/dmraid/list.h
/usr/include/dmraid/locking.h
/usr/include/dmraid/metadata.h
/usr/include/dmraid/misc.h
/usr/include/dmraid/reconfig.h

References

Summary

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