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

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

Introduction

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

What is device-mapper-event-devel.x86_64

This package contains files needed to develop applications that use the device-mapper event library.

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

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

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

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

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

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

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

/usr/include/libdevmapper-event.h
/usr/lib64/libdevmapper-event.so
/usr/lib64/pkgconfig/devmapper-event.pc

References

Summary

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