How To Install lzo-minilzo on CentOS 7

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

What is lzo-minilzo

A small (mini) version of lzo for embedding into applications which don’t need full blown lzo compression support. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install lzo-minilzo.

Install lzo-minilzo on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install lzo-minilzo

Install lzo-minilzo on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install lzo-minilzo

How To Uninstall lzo-minilzo on CentOS 7

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

sudo dnf remove lzo-minilzo

References

Summary

In this tutorial we learn how to install lzo-minilzo on CentOS 7 using yum and dnf.