How To Install lzo-minilzo.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lzo-minilzo.x86_64 in Amazon Linux 2. lzo-minilzo.x86_64 is Mini version of lzo for apps which don’t need the full version

Introduction

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

What is lzo-minilzo.x86_64

A small (mini) version of lzo for embedding into applications which don’t need full blown lzo compression support.

We can use yum to install lzo-minilzo.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-minilzo.x86_64.

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

sudo yum -y install lzo-minilzo.x86_64

How To Uninstall lzo-minilzo.x86_64 on Amazon Linux 2

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

sudo yum remove lzo-minilzo.x86_64

lzo-minilzo.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libminilzo.so.0
/usr/share/doc/lzo-minilzo-2.06
/usr/share/doc/lzo-minilzo-2.06/README.LZO

References

Summary

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