How To Install xz-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xz-libs.x86_64 in Amazon Linux 2. xz-libs.x86_64 is Libraries for decoding LZMA compression

Introduction

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

What is xz-libs.x86_64

Libraries for decoding files compressed with LZMA or XZ utils.

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

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

sudo yum -y install xz-libs.x86_64

How To Uninstall xz-libs.x86_64 on Amazon Linux 2

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

sudo yum remove xz-libs.x86_64

xz-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liblzma.so.5
/usr/lib64/liblzma.so.5.2.2
/usr/share/doc/xz-libs-5.2.2
/usr/share/doc/xz-libs-5.2.2/COPYING
/usr/share/doc/xz-libs-5.2.2/COPYING.GPLv2
/usr/share/doc/xz-libs-5.2.2/COPYING.GPLv3
/usr/share/doc/xz-libs-5.2.2/COPYING.LGPLv2.1

References

Summary

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