How To Install lz4-static.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lz4-static.x86_64 in Amazon Linux 2. lz4-static.x86_64 is Static library for lz4

Introduction

In this tutorial we learn how to install lz4-static.x86_64 on Amazon Linux 2.

What is lz4-static.x86_64

LZ4 is an extremely fast loss-less compression algorithm. This package contains static libraries for static linking of applications.

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

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

sudo yum -y install lz4-static.x86_64

How To Uninstall lz4-static.x86_64 on Amazon Linux 2

To uninstall only the lz4-static.x86_64 package we can use the following command:

sudo yum remove lz4-static.x86_64

lz4-static.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liblz4.a
/usr/share/doc/lz4-static-1.7.5
/usr/share/doc/lz4-static-1.7.5/LICENSE

References

Summary

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