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

In this tutorial we learn how to install lz4-devel.x86_64 in Amazon Linux 2. lz4-devel.x86_64 is Development files for lz4

Introduction

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

What is lz4-devel.x86_64

This package contains the header(.h) and library(.so) files required to build applications using liblz4 library.

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

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

sudo yum -y install lz4-devel.x86_64

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

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

sudo yum remove lz4-devel.x86_64

lz4-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/lz4.h
/usr/include/lz4frame.h
/usr/include/lz4hc.h
/usr/lib64/liblz4.so
/usr/lib64/pkgconfig/liblz4.pc
/usr/share/doc/lz4-devel-1.7.5
/usr/share/doc/lz4-devel-1.7.5/LICENSE

References

Summary

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