How To Install device-mapper-multipath-devel.x86_64 on Amazon Linux 2

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

Introduction

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

What is device-mapper-multipath-devel.x86_64

This package contains the files need to develop applications that use device-mapper-multipath’s lbmpathpersist and libmpathcmd libraries.

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

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

sudo yum -y install device-mapper-multipath-devel.x86_64

How To Uninstall device-mapper-multipath-devel.x86_64 on Amazon Linux 2

To uninstall only the device-mapper-multipath-devel.x86_64 package we can use the following command:

sudo yum remove device-mapper-multipath-devel.x86_64

device-mapper-multipath-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/mpath_cmd.h
/usr/include/mpath_persist.h
/usr/lib64/libmpathcmd.so
/usr/lib64/libmpathpersist.so
/usr/share/doc/device-mapper-multipath-devel-0.4.9
/usr/share/doc/device-mapper-multipath-devel-0.4.9/AUTHOR
/usr/share/doc/device-mapper-multipath-devel-0.4.9/COPYING
/usr/share/man/man3/mpath_persistent_reserve_in.3.gz
/usr/share/man/man3/mpath_persistent_reserve_out.3.gz

References

Summary

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