How To Install lzo-devel on Rocky Linux 8

In this tutorial we learn how to install lzo-devel on Rocky Linux 8. lzo-devel is Development files for the lzo library

Introduction

In this tutorial we learn how to install lzo-devel on Rocky Linux 8.

What is lzo-devel

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 or dnf to install lzo-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lzo-devel.

Install lzo-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lzo-devel using dnf by running the following command:

sudo dnf -y install lzo-devel

Install lzo-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lzo-devel using yum by running the following command:

sudo yum -y install lzo-devel

How To Uninstall lzo-devel on Rocky Linux 8

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

sudo dnf remove lzo-devel

lzo-devel Package Contents on Rocky Linux 8

/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/lib/liblzo2.so
/usr/lib/libminilzo.so
/usr/share/doc/lzo-devel
/usr/share/doc/lzo-devel/LZO.FAQ
/usr/share/doc/lzo-devel/LZO.TXT
/usr/share/doc/lzo-devel/LZOAPI.TXT
/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
/usr/share/doc/lzo-devel/LZO.FAQ
/usr/share/doc/lzo-devel/LZO.TXT
/usr/share/doc/lzo-devel/LZOAPI.TXT

References

Summary

In this tutorial we learn how to install lzo-devel on Rocky Linux 8 using yum and dnf.