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

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

Introduction

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

What is lzo-devel.x86_64

LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and very fast decompression. This package contains development files needed for lzo.

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

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

sudo yum -y install lzo-devel.x86_64

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

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

sudo yum remove lzo-devel.x86_64

lzo-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/lzo
/usr/include/lzo/lzo1.h
/usr/include/lzo/lzo1a.h
/usr/include/lzo/lzo1b.h
/usr/include/lzo/lzo1c.h
/usr/include/lzo/lzo1f.h
/usr/include/lzo/lzo1x.h
/usr/include/lzo/lzo1y.h
/usr/include/lzo/lzo1z.h
/usr/include/lzo/lzo2a.h
/usr/include/lzo/lzo_asm.h
/usr/include/lzo/lzoconf.h
/usr/include/lzo/lzodefs.h
/usr/include/lzo/lzoutil.h
/usr/include/lzo/minilzo.h
/usr/lib64/liblzo2.so
/usr/lib64/libminilzo.so
/usr/share/doc/lzo-devel-2.06
/usr/share/doc/lzo-devel-2.06/LZO.FAQ
/usr/share/doc/lzo-devel-2.06/LZO.TXT
/usr/share/doc/lzo-devel-2.06/LZOAPI.TXT

References

Summary

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