How To Install lvm2-libs.i686 on Amazon Linux 2

In this tutorial we learn how to install lvm2-libs.i686 in Amazon Linux 2. lvm2-libs.i686 is Shared libraries for lvm2

Introduction

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

What is lvm2-libs.i686

This package contains shared lvm2 libraries for applications.

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

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

sudo yum -y install lvm2-libs.i686

How To Uninstall lvm2-libs.i686 on Amazon Linux 2

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

sudo yum remove lvm2-libs.i686

lvm2-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/device-mapper
/usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so
/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so
/usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so
/usr/lib/device-mapper/libdevmapper-event-lvm2thin.so
/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so
/usr/lib/libdevmapper-event-lvm2.so.2.02
/usr/lib/libdevmapper-event-lvm2mirror.so
/usr/lib/libdevmapper-event-lvm2raid.so
/usr/lib/libdevmapper-event-lvm2snapshot.so
/usr/lib/libdevmapper-event-lvm2thin.so
/usr/lib/libdevmapper-event-lvm2vdo.so
/usr/lib/liblvm2app.so.2.2
/usr/lib/liblvm2cmd.so.2.02
/usr/share/licenses/lvm2-libs-2.02.187
/usr/share/licenses/lvm2-libs-2.02.187/COPYING.LIB

References

Summary

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