How To Install dmraid.i686 on Amazon Linux 2

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

Introduction

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

What is dmraid.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dmraid.i686.

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

sudo yum -y install dmraid.i686

How To Uninstall dmraid.i686 on Amazon Linux 2

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

sudo yum remove dmraid.i686

dmraid.i686 Package Contents on Amazon Linux 2

/sbin/dmraid
/sbin/dmraid.static
/usr/lib/libdmraid-events-isw.so
/usr/lib/libdmraid-events-isw.so.1
/usr/lib/libdmraid-events-isw.so.1.0.0.rc16
/usr/lib/libdmraid.so
/usr/lib/libdmraid.so.1
/usr/lib/libdmraid.so.1.0.0.rc16
/usr/lib/systemd/rhel-dmraid-activation
/usr/lib/systemd/system/dmraid-activation.service
/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.i686 on Amazon Linux 2 using yum.