How To Install xz-compat-libs.i686 on Amazon Linux 2

In this tutorial we learn how to install xz-compat-libs.i686 in Amazon Linux 2. xz-compat-libs.i686 is Compatibility libraries for decoding LZMA compression

Introduction

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

What is xz-compat-libs.i686

Compatibility libraries for decoding files compressed with LZMA or XZ utils. This particular package ships libraries from xz-4.999.9beta as of 1st of April 2010.

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

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

sudo yum -y install xz-compat-libs.i686

How To Uninstall xz-compat-libs.i686 on Amazon Linux 2

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

sudo yum remove xz-compat-libs.i686

xz-compat-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/liblzma.so.0
/usr/lib/liblzma.so.0.0.0
/usr/share/doc/xz-compat-libs-5.2.2
/usr/share/doc/xz-compat-libs-5.2.2/COPYING
/usr/share/doc/xz-compat-libs-5.2.2/COPYING.GPLv2
/usr/share/doc/xz-compat-libs-5.2.2/COPYING.GPLv3
/usr/share/doc/xz-compat-libs-5.2.2/COPYING.LGPLv2.1

References

Summary

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