How To Install pyliblzma.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pyliblzma.x86_64 in Amazon Linux 2. pyliblzma.x86_64 is Python bindings for lzma

Introduction

In this tutorial we learn how to install pyliblzma.x86_64 on Amazon Linux 2.

What is pyliblzma.x86_64

PylibLZMA provides a python interface for the liblzma library to read and write data that has been compressed or can be decompressed by Lasse Collin’s lzma utils.

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

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

sudo yum -y install pyliblzma.x86_64

How To Uninstall pyliblzma.x86_64 on Amazon Linux 2

To uninstall only the pyliblzma.x86_64 package we can use the following command:

sudo yum remove pyliblzma.x86_64

pyliblzma.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/liblzma.py
/usr/lib64/python2.7/site-packages/liblzma.pyc
/usr/lib64/python2.7/site-packages/liblzma.pyo
/usr/lib64/python2.7/site-packages/lzma.so
/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info
/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/pyliblzma-0.5.3-py2.7.egg-info/top_level.txt
/usr/share/doc/pyliblzma-0.5.3
/usr/share/doc/pyliblzma-0.5.3/ChangeLog
/usr/share/doc/pyliblzma-0.5.3/NEWS
/usr/share/doc/pyliblzma-0.5.3/README
/usr/share/doc/pyliblzma-0.5.3/THANKS
/usr/share/licenses/pyliblzma-0.5.3
/usr/share/licenses/pyliblzma-0.5.3/COPYING

References

Summary

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