How To Install device-mapper-libs.i686 on Amazon Linux 2

In this tutorial we learn how to install device-mapper-libs.i686 in Amazon Linux 2. device-mapper-libs.i686 is Device-mapper shared library

Introduction

In this tutorial we learn how to install device-mapper-libs.i686 on Amazon Linux 2.

What is device-mapper-libs.i686

This package contains the device-mapper shared library, libdevmapper.

We can use yum to install device-mapper-libs.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install device-mapper-libs.i686.

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

sudo yum -y install device-mapper-libs.i686

How To Uninstall device-mapper-libs.i686 on Amazon Linux 2

To uninstall only the device-mapper-libs.i686 package we can use the following command:

sudo yum remove device-mapper-libs.i686

device-mapper-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/libdevmapper.so.1.02
/usr/share/licenses/device-mapper-libs-1.02.170
/usr/share/licenses/device-mapper-libs-1.02.170/COPYING
/usr/share/licenses/device-mapper-libs-1.02.170/COPYING.LIB

References

Summary

In this tutorial we learn how to install device-mapper-libs.i686 on Amazon Linux 2 using yum.