How To Install dmraid.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dmraid.x86_64 in Amazon Linux 2. dmraid.x86_64 is dmraid (Device-mapper RAID tool and library)

Introduction

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

What is dmraid.x86_64

DMRAID supports RAID device discovery, RAID set activation, creation, removal, rebuild and display of properties for ATARAID/DDF1 metadata on Linux >= 2.4 using device-mapper.

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

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

sudo yum -y install dmraid.x86_64

How To Uninstall dmraid.x86_64 on Amazon Linux 2

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

sudo yum remove dmraid.x86_64

dmraid.x86_64 Package Contents on Amazon Linux 2

/sbin/dmraid
/sbin/dmraid.static
/usr/lib/systemd/rhel-dmraid-activation
/usr/lib/systemd/system/dmraid-activation.service
/usr/lib64/libdmraid-events-isw.so
/usr/lib64/libdmraid-events-isw.so.1
/usr/lib64/libdmraid-events-isw.so.1.0.0.rc16
/usr/lib64/libdmraid.so
/usr/lib64/libdmraid.so.1
/usr/lib64/libdmraid.so.1.0.0.rc16
/usr/share/doc/dmraid-1.0.0.rc16
/usr/share/doc/dmraid-1.0.0.rc16/CHANGELOG
/usr/share/doc/dmraid-1.0.0.rc16/CREDITS
/usr/share/doc/dmraid-1.0.0.rc16/KNOWN_BUGS
/usr/share/doc/dmraid-1.0.0.rc16/LICENSE
/usr/share/doc/dmraid-1.0.0.rc16/LICENSE_GPL
/usr/share/doc/dmraid-1.0.0.rc16/LICENSE_LGPL
/usr/share/doc/dmraid-1.0.0.rc16/README
/usr/share/doc/dmraid-1.0.0.rc16/TODO
/usr/share/doc/dmraid-1.0.0.rc16/dmraid_design.txt
/usr/share/man/man8/dmraid.8.gz
/usr/share/man/man8/dmraid.static.8.gz
/var/lock/dmraid

References

Summary

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