How To Install lzo-minilzo on Rocky Linux 8

In this tutorial we learn how to install lzo-minilzo on Rocky Linux 8. lzo-minilzo 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 on Rocky Linux 8.

What is lzo-minilzo

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

We can use yum or dnf to install lzo-minilzo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lzo-minilzo.

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

sudo dnf -y install lzo-minilzo

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

sudo yum -y install lzo-minilzo

How To Uninstall lzo-minilzo on Rocky Linux 8

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

sudo dnf remove lzo-minilzo

lzo-minilzo Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/2524af1f5b1e088d5e6fc81c1a82c29004d294
/usr/lib64/libminilzo.so.0
/usr/share/doc/lzo-minilzo
/usr/share/doc/lzo-minilzo/README.LZO
/usr/share/licenses/lzo-minilzo
/usr/share/licenses/lzo-minilzo/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/454bd46aaa8802b3d871ce9020641d19377354
/usr/lib/libminilzo.so.0
/usr/share/doc/lzo-minilzo
/usr/share/doc/lzo-minilzo/README.LZO
/usr/share/licenses/lzo-minilzo
/usr/share/licenses/lzo-minilzo/COPYING

References

Summary

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