How To Install lzo.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lzo.x86_64 in Amazon Linux 2. lzo.x86_64 is Data compression library with very fast (de)compression

Introduction

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

What is lzo.x86_64

LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and very fast decompression. Decompression requires no memory. In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed.

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

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

sudo yum -y install lzo.x86_64

How To Uninstall lzo.x86_64 on Amazon Linux 2

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

sudo yum remove lzo.x86_64

lzo.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liblzo2.so.2
/usr/lib64/liblzo2.so.2.0.0
/usr/share/doc/lzo-2.06
/usr/share/doc/lzo-2.06/AUTHORS
/usr/share/doc/lzo-2.06/COPYING
/usr/share/doc/lzo-2.06/NEWS
/usr/share/doc/lzo-2.06/THANKS

References

Summary

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